Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 189 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002493/0.002493, allocations: 285 kB / 307 MB, free: 8.379 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.192/1.192, allocations: 180.8 MB / 0.5304 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002928/0.002928, allocations: 107.9 kB / 0.731 GB, free: 38.81 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1448, allocations: 94.19 MB / 0.823 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004912/0.1497, allocations: 3.096 MB / 0.826 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005441/0.1552, allocations: 3.377 MB / 0.8293 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.1554, allocations: 4 kB / 0.8293 GB, free: 11.6 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1558, allocations: 63.38 kB / 0.8294 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.1571, allocations: 437.7 kB / 0.8298 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.158, allocations: 387.4 kB / 0.8302 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008814/0.1589, allocations: 0.7065 MB / 0.8309 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1591, allocations: 78.77 kB / 0.831 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004653/0.1595, allocations: 299.1 kB / 0.8312 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.1601, allocations: 322.8 kB / 0.8316 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.1602, allocations: 60 kB / 0.8316 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009116/0.1611, allocations: 499.5 kB / 0.8321 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.1613, allocations: 167.5 kB / 0.8322 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.1617, allocations: 286.6 kB / 0.8325 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.163, allocations: 0.9809 MB / 0.8335 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.163, allocations: 3.938 kB / 0.8335 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.163, allocations: 0 / 0.8335 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.163, allocations: 0 / 0.8335 GB, free: 7.348 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002216/0.1653, allocations: 0.8625 MB / 0.8343 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1653, allocations: 8.031 kB / 0.8343 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.1685, allocations: 0.5507 MB / 0.8349 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.1699, allocations: 0.5014 MB / 0.8354 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.1701, allocations: 203.8 kB / 0.8356 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.882e-05/0.1702, allocations: 47.92 kB / 0.8356 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.1718, allocations: 0.6868 MB / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1718, allocations: 0 / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.1718, allocations: 16 kB / 0.8363 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1719, allocations: 12 kB / 0.8363 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.1739, allocations: 0.7728 MB / 0.837 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.1776, allocations: 1.701 MB / 0.8387 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.1808, allocations: 0.898 MB / 0.8396 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/0.1817, allocations: 333.1 kB / 0.8399 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.1828, allocations: 212.4 kB / 0.8401 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.184, allocations: 464.1 kB / 0.8405 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=66): time 2.505e-06/0.184, allocations: 0 / 0.8405 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66): time 0.003063/0.187, allocations: 1.072 MB / 0.8416 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.1871, allocations: 107.5 kB / 0.8417 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.1876, allocations: 361.6 kB / 0.842 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/0.1876, allocations: 41.7 kB / 0.8421 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1878, allocations: 221.5 kB / 0.8423 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.188, allocations: 233.9 kB / 0.8425 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.1883, allocations: 142.6 kB / 0.8427 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.1885, allocations: 362.8 kB / 0.843 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008914/0.1894, allocations: 313.8 kB / 0.8433 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.1904, allocations: 441.6 kB / 0.8437 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.1923, allocations: 0.7209 MB / 0.8444 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1923, allocations: 0 / 0.8444 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002264/0.1946, allocations: 0.8716 MB / 0.8453 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1946, allocations: 11.98 kB / 0.8453 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1946, allocations: 0 / 0.8453 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1946, allocations: 8 kB / 0.8453 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.1956, allocations: 187.9 kB / 0.8455 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.1956, allocations: 11.88 kB / 0.8455 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006826/0.1963, allocations: 95.5 kB / 0.8456 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.1964, allocations: 35.95 kB / 0.8456 GB, free: 10.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003081/0.1967, allocations: 203.2 kB / 0.8458 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1969, allocations: 51.67 kB / 0.8459 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.1998, allocations: 1.127 MB / 0.847 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.1998, allocations: 8 kB / 0.847 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/0.1998, allocations: 3.938 kB / 0.847 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.1998, allocations: 11.97 kB / 0.847 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.2033, allocations: 1.727 MB / 0.8487 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2033, allocations: 0 / 0.8487 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.2044, allocations: 199.7 kB / 0.8489 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.2044, allocations: 7.938 kB / 0.8489 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/0.2044, allocations: 27.98 kB / 0.8489 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2044, allocations: 0 / 0.8489 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2044, allocations: 0 / 0.8489 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.2067, allocations: 1.006 MB / 0.8499 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.2071, allocations: 143.4 kB / 0.85 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.2072, allocations: 19.94 kB / 0.85 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006414/0.2078, allocations: 55.94 kB / 0.8501 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.2079, allocations: 64.89 kB / 0.8501 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.208, allocations: 31.97 kB / 0.8502 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003393/0.2084, allocations: 251.2 kB / 0.8504 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2084, allocations: 0 / 0.8504 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007413/0.2091, allocations: 235.4 kB / 0.8506 GB, free: 5.363 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/0.2108, allocations: 0.5007 MB / 0.8511 GB, free: 5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002163/0.213, allocations: 0.7839 MB / 0.8519 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.213, allocations: 4.188 kB / 0.8519 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.214, allocations: 433.4 kB / 0.8523 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.2145, allocations: 71.38 kB / 0.8524 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.2169, allocations: 1.157 MB / 0.8535 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.2174, allocations: 0.87 MB / 0.8544 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006676/0.2181, allocations: 176.5 kB / 0.8545 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.2184, allocations: 87.36 kB / 0.8546 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.2184, allocations: 0 / 0.8546 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of Templates: time 0.01803/0.2364, allocations: 10.12 MB / 0.8645 GB, free: 7.312 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.180325326000457] Failed to read output from testmodel.py, exit status != 0: 0.24385456399613759 0.25862559499999993 0.09258646199999994 Calling exit ...