Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 104.3 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 193.1 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 276.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9367/0.9367, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 95.34 kB / 0.5966 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1413, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005905/0.1472, allocations: 4.746 MB / 0.6862 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3773/0.5245, allocations: 150.7 MB / 0.8334 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006251/0.5252, allocations: 19.88 kB / 0.8334 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.5257, allocations: 198.1 kB / 0.8336 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.5272, allocations: 0.5203 MB / 0.8341 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.529, allocations: 0.8615 MB / 0.8349 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.5302, allocations: 1.456 MB / 0.8364 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.5313, allocations: 0.9243 MB / 0.8373 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005308/0.5318, allocations: 0.5721 MB / 0.8378 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005893/0.5324, allocations: 0.6299 MB / 0.8384 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.5326, allocations: 155.9 kB / 0.8386 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.5333, allocations: 0.5075 MB / 0.8391 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.5336, allocations: 382.8 kB / 0.8395 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005189/0.5341, allocations: 0.6878 MB / 0.8401 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.5358, allocations: 1.969 MB / 0.842 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5358, allocations: 0 / 0.842 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5358, allocations: 0 / 0.842 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.5358, allocations: 0 / 0.842 GB, free: 9.922 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002542/0.5384, allocations: 1.682 MB / 0.8437 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.5384, allocations: 12.03 kB / 0.8437 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/0.5393, allocations: 219 kB / 0.8439 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.5405, allocations: 0.8681 MB / 0.8448 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.5406, allocations: 90.34 kB / 0.8448 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.5408, allocations: 120 kB / 0.845 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.5426, allocations: 1.198 MB / 0.8461 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.5427, allocations: 7.75 kB / 0.8461 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/0.5428, allocations: 52 kB / 0.8462 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.5428, allocations: 28 kB / 0.8462 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.5448, allocations: 1.293 MB / 0.8475 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004308/0.5492, allocations: 3.102 MB / 0.8505 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.5507, allocations: 0.8722 MB / 0.8514 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.5513, allocations: 330.6 kB / 0.8517 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.069e-05/0.5513, allocations: 28.61 kB / 0.8517 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008297/0.5522, allocations: 0.5159 MB / 0.8522 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=87): time 2.054e-06/0.5522, allocations: 0 / 0.8522 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=87): time 0.003173/0.5554, allocations: 1.274 MB / 0.8534 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.5555, allocations: 196.9 kB / 0.8536 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000842/0.5563, allocations: 0.7313 MB / 0.8543 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.5564, allocations: 49.7 kB / 0.8544 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.5568, allocations: 0.5153 MB / 0.8549 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.557, allocations: 280 kB / 0.8552 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.5572, allocations: 170.5 kB / 0.8553 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5574, allocations: 345.9 kB / 0.8557 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.5579, allocations: 289.8 kB / 0.8559 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/0.5586, allocations: 391.1 kB / 0.8563 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.5597, allocations: 0.6555 MB / 0.8569 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5598, allocations: 0 / 0.8569 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001969/0.5617, allocations: 0.9228 MB / 0.8578 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5618, allocations: 4 kB / 0.8579 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5618, allocations: 0 / 0.8579 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.5624, allocations: 92.78 kB / 0.8579 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.5631, allocations: 171.7 kB / 0.8581 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.565, allocations: 1.63 MB / 0.8597 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.5657, allocations: 103.2 kB / 0.8598 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/0.5658, allocations: 39.97 kB / 0.8598 GB, free: 7.152 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004004/0.5662, allocations: 301.1 kB / 0.8601 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.5664, allocations: 98.78 kB / 0.8602 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.5688, allocations: 1.113 MB / 0.8613 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.5688, allocations: 12 kB / 0.8613 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5688, allocations: 7.938 kB / 0.8613 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5689, allocations: 7.969 kB / 0.8613 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5699, allocations: 1.056 MB / 0.8624 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5699, allocations: 0 / 0.8624 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.5706, allocations: 151.8 kB / 0.8625 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/0.571, allocations: 72.78 kB / 0.8626 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.5711, allocations: 23.98 kB / 0.8626 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.5729, allocations: 1.662 MB / 0.8642 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5729, allocations: 3.938 kB / 0.8642 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.5748, allocations: 0.9785 MB / 0.8652 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.5752, allocations: 291.5 kB / 0.8655 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.5754, allocations: 20 kB / 0.8655 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/0.576, allocations: 70.73 kB / 0.8655 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.5762, allocations: 80.77 kB / 0.8656 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.5762, allocations: 35.98 kB / 0.8657 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006154/0.5769, allocations: 0.5185 MB / 0.8662 GB, free: 432 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5769, allocations: 0 / 0.8662 GB, free: 432 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007608/0.5776, allocations: 366.8 kB / 0.8665 GB, free: 64 kB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.5789, allocations: 0.5947 MB / 0.8671 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.5806, allocations: 0.8907 MB / 0.868 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5806, allocations: 0 / 0.868 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009343/0.5815, allocations: 0.5353 MB / 0.8685 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5826, allocations: 306.5 kB / 0.8688 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.5864, allocations: 2.066 MB / 0.8708 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/0.587, allocations: 1.121 MB / 0.8719 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007236/0.5878, allocations: 279.3 kB / 0.8722 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.5881, allocations: 107.4 kB / 0.8723 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.5881, allocations: 0 / 0.8723 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.02392/0.612, allocations: 15.6 MB / 0.8875 GB, free: 10.91 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)