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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008744/0.0008744, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008963/0.0008963, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8832/0.8832, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001604/0.001604, allocations: 253.6 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.695/0.695, allocations: 138.4 MB / 402.2 MB, free: 0.5039 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.212e-06/1.212e-06, allocations: 0 / 462.2 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.076e-05, allocations: 3.891 kB / 462.3 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.002822/0.002833, allocations: 3.019 MB / 465.3 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.006076, allocations: 3.524 MB / 468.8 MB, free: 12.18 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.006189, allocations: 0 / 468.8 MB, free: 12.18 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.0002376/0.006427, allocations: 72.64 kB / 468.9 MB, free: 12.11 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.007126, allocations: 496.7 kB / 469.4 MB, free: 11.63 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.007562, allocations: 386.3 kB / 469.7 MB, free: 11.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.008037, allocations: 0.7296 MB / 470.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.008167, allocations: 74.86 kB / 470.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000364/0.008531, allocations: 428.6 kB / 470.9 MB, free: 10.03 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.008802, allocations: 255.3 kB / 471.2 MB, free: 9.781 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.008863, allocations: 60.66 kB / 471.3 MB, free: 9.723 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.009376, allocations: 0.543 MB / 471.8 MB, free: 9.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.009486, allocations: 163.4 kB / 472 MB, free: 9.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.009619, allocations: 199.5 kB / 472.2 MB, free: 8.824 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007035/0.01032, allocations: 0.8886 MB / 473 MB, free: 7.934 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01032, allocations: 0 / 473 MB, free: 7.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01033, allocations: 0 / 473 MB, free: 7.934 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.01033, allocations: 0.875 kB / 473 MB, free: 7.934 MB / 426.7 MB 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.0009544/0.01128, allocations: 0.8368 MB / 473.9 MB, free: 7.078 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.01131, allocations: 13.47 kB / 473.9 MB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009056/0.01222, allocations: 292.5 kB / 474.2 MB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.01255, allocations: 313.3 kB / 474.5 MB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.0127, allocations: 359.4 kB / 474.8 MB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.01276, allocations: 45.11 kB / 474.9 MB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.01328, allocations: 0.5242 MB / 475.4 MB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.01329, allocations: 0.9062 kB / 475.4 MB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.01333, allocations: 16 kB / 475.4 MB, free: 5.434 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.01334, allocations: 12.66 kB / 475.4 MB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.01368, allocations: 273.4 kB / 475.7 MB, free: 5.156 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.0151, allocations: 0.9526 MB / 476.7 MB, free: 4.191 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007948/0.01589, allocations: 449.2 kB / 477.1 MB, free: 3.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.01605, allocations: 128.2 kB / 477.2 MB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004148/0.01646, allocations: 188.8 kB / 477.4 MB, free: 3.445 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.01673, allocations: 264.9 kB / 477.7 MB, free: 3.176 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/0.01673, allocations: 0.75 kB / 477.7 MB, free: 3.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.0005329/0.01726, allocations: 407.5 kB / 478.1 MB, free: 2.777 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.0173, allocations: 112.6 kB / 478.2 MB, free: 2.645 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.01748, allocations: 311.2 kB / 478.5 MB, free: 2.328 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.01752, allocations: 37.7 kB / 478.5 MB, free: 2.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.0176, allocations: 199 kB / 478.7 MB, free: 2.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.01772, allocations: 233.9 kB / 478.9 MB, free: 1.855 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.01786, allocations: 130.2 kB / 479.1 MB, free: 1.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.01795, allocations: 363.3 kB / 479.4 MB, free: 1.359 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.01808, allocations: 90.12 kB / 479.5 MB, free: 1.273 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.01827, allocations: 262.6 kB / 479.8 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.01863, allocations: 347.2 kB / 480.1 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01863, allocations: 8.5 kB / 480.1 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004372/0.01907, allocations: 383.9 kB / 480.5 MB, free: 216 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.01908, allocations: 9.219 kB / 480.5 MB, free: 208 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01909, allocations: 3.984 kB / 480.5 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.0191, allocations: 4.797 kB / 480.5 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.0195, allocations: 160.5 kB / 480.7 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.01951, allocations: 8.438 kB / 480.7 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.01975, allocations: 70 kB / 480.7 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.0198, allocations: 33.08 kB / 480.8 MB, free: 15.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (radiationOneAxisTracked.outsidePolarCircle,radiationFixed.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001384/0.01994, allocations: 149.9 kB / 480.9 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.21e-05/0.02001, allocations: 51.95 kB / 481 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008352/0.02084, allocations: 0.5947 MB / 481.6 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.02085, allocations: 10.19 kB / 481.6 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.02085, allocations: 0 / 481.6 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.02086, allocations: 3.984 kB / 481.6 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009169/0.02177, allocations: 0.8609 MB / 482.4 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.02178, allocations: 0 / 482.4 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.02219, allocations: 164.3 kB / 482.6 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.02219, allocations: 5.266 kB / 482.6 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.02223, allocations: 21.36 kB / 482.6 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.02223, allocations: 1.469 kB / 482.6 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02223, allocations: 0 / 482.6 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004691/0.0227, allocations: 0.5131 MB / 483.1 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.02285, allocations: 108 kB / 483.2 MB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.02291, allocations: 16 kB / 483.3 MB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.02312, allocations: 35.36 kB / 483.3 MB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.02319, allocations: 60.88 kB / 483.3 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.02323, allocations: 19.92 kB / 483.4 MB, free: 13.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.02332, allocations: 120.7 kB / 483.5 MB, free: 13.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02332, allocations: 0 / 483.5 MB, free: 13.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004231/0.02374, allocations: 251.4 kB / 483.7 MB, free: 12.95 MB / 442.7 MB 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.001256/0.025, allocations: 0.7019 MB / 484.4 MB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.02544, allocations: 390 kB / 484.8 MB, free: 12.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.02545, allocations: 4 kB / 484.8 MB, free: 12.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.02569, allocations: 241.7 kB / 485.1 MB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.02596, allocations: 88.08 kB / 485.1 MB, free: 11.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.02709, allocations: 0.9225 MB / 486.1 MB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.803e-05/0.02717, allocations: 138.1 kB / 486.2 MB, free: 10.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003785/0.02754, allocations: 154.6 kB / 486.3 MB, free: 10.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.0279, allocations: 175.3 kB / 486.5 MB, free: 10.52 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0279, allocations: 4.562 kB / 486.5 MB, free: 10.52 MB / 442.7 MB Notification: Performance of Templates: time 0.01192/0.03982, allocations: 11.15 MB / 497.7 MB, free: 15.71 MB / 458.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.445382002275437]