Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 110.5 kB / 16.41 MB, free: 6.52 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.001169/0.001169, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.317/1.317, allocations: 222.9 MB / 241.1 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.002148/0.002148, allocations: 300.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9464/0.9464, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 91.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4279, allocations: 86.98 MB / 0.767 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005659/0.4336, allocations: 4.307 MB / 0.7712 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1628/0.5964, allocations: 150.6 MB / 0.9183 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007721/0.5972, allocations: 11.94 kB / 0.9183 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.5978, allocations: 182.3 kB / 0.9184 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.5995, allocations: 0.4967 MB / 0.9189 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.6014, allocations: 0.834 MB / 0.9197 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.6027, allocations: 1.289 MB / 0.921 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008733/0.6036, allocations: 0.6391 MB / 0.9216 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.6042, allocations: 478.4 kB / 0.9221 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.6048, allocations: 493.8 kB / 0.9225 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.605, allocations: 116 kB / 0.9227 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.6059, allocations: 491.5 kB / 0.9231 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.6062, allocations: 295 kB / 0.9234 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004441/0.6066, allocations: 0.5402 MB / 0.9239 GB, free: 2.73 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.6083, allocations: 1.618 MB / 0.9255 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6084, allocations: 0 / 0.9255 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6084, allocations: 0 / 0.9255 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.6084, allocations: 4 kB / 0.9255 GB, free: 1.105 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002444/0.6108, allocations: 1.406 MB / 0.9269 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6109, allocations: 8.031 kB / 0.9269 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/0.6118, allocations: 187.4 kB / 0.9271 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.613, allocations: 0.7616 MB / 0.9278 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.6131, allocations: 62 kB / 0.9279 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.6132, allocations: 80 kB / 0.928 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.6148, allocations: 0.9222 MB / 0.9289 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.6148, allocations: 0 / 0.9289 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.6149, allocations: 39.98 kB / 0.9289 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.6149, allocations: 24 kB / 0.9289 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.6167, allocations: 1.104 MB / 0.93 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00391/0.6206, allocations: 2.504 MB / 0.9324 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.6222, allocations: 0.8829 MB / 0.9333 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.6228, allocations: 310.6 kB / 0.9336 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.979e-05/0.6228, allocations: 24.61 kB / 0.9336 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008646/0.6237, allocations: 0.4913 MB / 0.9341 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.896e-06/0.6237, allocations: 4 kB / 0.9341 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003194/0.6269, allocations: 1.19 MB / 0.9353 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.6271, allocations: 192.6 kB / 0.9355 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/0.6279, allocations: 0.6176 MB / 0.9361 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.6279, allocations: 41.7 kB / 0.9361 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.6283, allocations: 396.3 kB / 0.9365 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.6285, allocations: 252.3 kB / 0.9367 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.6288, allocations: 166.5 kB / 0.9369 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.629, allocations: 390.7 kB / 0.9372 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.6295, allocations: 269.9 kB / 0.9375 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.6301, allocations: 355.1 kB / 0.9378 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.6312, allocations: 0.6111 MB / 0.9384 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6313, allocations: 3.938 kB / 0.9384 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001952/0.6332, allocations: 0.8488 MB / 0.9393 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6332, allocations: 4 kB / 0.9393 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6333, allocations: 4 kB / 0.9393 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.6339, allocations: 84.86 kB / 0.9394 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.6345, allocations: 159.7 kB / 0.9395 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.6367, allocations: 1.641 MB / 0.9411 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/0.6375, allocations: 95.38 kB / 0.9412 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.6375, allocations: 31.97 kB / 0.9412 GB, free: 484 kB / 0.7012 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 (93): * Single equations (assignments): 92 * 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.0004987/0.638, allocations: 278.6 kB / 0.9415 GB, free: 200 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.6382, allocations: 82.97 kB / 0.9416 GB, free: 116 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.6406, allocations: 1.065 MB / 0.9426 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6407, allocations: 3.984 kB / 0.9426 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6407, allocations: 0 / 0.9426 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.641, allocations: 279.7 kB / 0.9429 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.6412, allocations: 16 kB / 0.9429 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.6418, allocations: 63.92 kB / 0.943 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.642, allocations: 64.91 kB / 0.943 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002139/0.6441, allocations: 0.9552 MB / 0.944 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002262/0.6464, allocations: 1.406 MB / 0.9453 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005723/0.647, allocations: 351.8 kB / 0.9457 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000575/0.6476, allocations: 451 kB / 0.9461 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of Backend: time 5.41e-07/0.6476, allocations: 0 / 0.9461 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00341/0.651, allocations: 1.272 MB / 0.9473 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002989/0.654, allocations: 2.012 MB / 0.9493 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.4149/1.069, allocations: 16.19 MB / 0.9651 GB, free: 187.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)