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.007164/0.007165, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001751/0.001751, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 279.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 95.84 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1719, allocations: 86.97 MB / 0.7663 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006022/0.1779, allocations: 4.325 MB / 0.7706 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5566/0.7345, allocations: 150.6 MB / 0.9176 GB, free: 7.773 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009956/0.7356, allocations: 19.88 kB / 0.9176 GB, free: 7.754 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007522/0.7364, allocations: 173.5 kB / 0.9178 GB, free: 7.586 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.7385, allocations: 0.4954 MB / 0.9183 GB, free: 7.105 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.7404, allocations: 0.8295 MB / 0.9191 GB, free: 6.305 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.7418, allocations: 1.301 MB / 0.9203 GB, free: 4.996 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008009/0.7426, allocations: 0.6292 MB / 0.921 GB, free: 4.348 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.7431, allocations: 474.4 kB / 0.9214 GB, free: 3.883 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.7435, allocations: 0.49 MB / 0.9219 GB, free: 3.391 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.7437, allocations: 116 kB / 0.922 GB, free: 3.277 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007404/0.7444, allocations: 485.2 kB / 0.9225 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.7447, allocations: 295.1 kB / 0.9227 GB, free: 2.516 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.7451, allocations: 0.544 MB / 0.9233 GB, free: 1.969 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.7465, allocations: 1.615 MB / 0.9248 GB, free: 364 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7465, allocations: 0 / 0.9248 GB, free: 364 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7465, allocations: 0 / 0.9248 GB, free: 364 kB / 0.67 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.7466, allocations: 0 / 0.9248 GB, free: 364 kB / 0.67 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.00216/0.7487, allocations: 1.411 MB / 0.9262 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7488, allocations: 8.031 kB / 0.9262 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/0.7496, allocations: 187.4 kB / 0.9264 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.7507, allocations: 0.7581 MB / 0.9272 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.7507, allocations: 67.06 kB / 0.9272 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.7509, allocations: 76 kB / 0.9273 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.7523, allocations: 0.9201 MB / 0.9282 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.7523, allocations: 0 / 0.9282 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.7524, allocations: 36 kB / 0.9282 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.7524, allocations: 20 kB / 0.9282 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.7541, allocations: 1.12 MB / 0.9293 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003835/0.7579, allocations: 2.482 MB / 0.9318 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.7594, allocations: 0.8993 MB / 0.9326 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.7599, allocations: 299.5 kB / 0.9329 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.21e-05/0.76, allocations: 32.56 kB / 0.933 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00087/0.7609, allocations: 500 kB / 0.9334 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=79): time 4.098e-06/0.7609, allocations: 3.984 kB / 0.9334 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of matching and sorting (n=79): time 0.002924/0.7639, allocations: 1.194 MB / 0.9346 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.764, allocations: 188.6 kB / 0.9348 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.7647, allocations: 0.6291 MB / 0.9354 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.7647, allocations: 41.7 kB / 0.9354 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.765, allocations: 392.4 kB / 0.9358 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.7652, allocations: 256.3 kB / 0.9361 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.7654, allocations: 162.1 kB / 0.9362 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7656, allocations: 390.7 kB / 0.9366 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.7661, allocations: 273.8 kB / 0.9368 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.7667, allocations: 363 kB / 0.9372 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.7677, allocations: 0.5995 MB / 0.9378 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.7677, allocations: 0 / 0.9378 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00177/0.7695, allocations: 0.8488 MB / 0.9386 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7695, allocations: 4 kB / 0.9386 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.7696, allocations: 4 kB / 0.9386 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.7701, allocations: 84.86 kB / 0.9387 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.7707, allocations: 155.7 kB / 0.9388 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.7728, allocations: 1.644 MB / 0.9404 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.7735, allocations: 91.39 kB / 0.9405 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.7736, allocations: 35.97 kB / 0.9406 GB, free: 15.73 MB / 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.0003412/0.7739, allocations: 275.5 kB / 0.9408 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.7741, allocations: 82.97 kB / 0.9409 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.7763, allocations: 1.053 MB / 0.9419 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.7763, allocations: 15.94 kB / 0.942 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.7763, allocations: 0 / 0.942 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.7763, allocations: 7.922 kB / 0.942 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.7793, allocations: 1.947 MB / 0.9439 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.7793, allocations: 4 kB / 0.9439 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/0.7799, allocations: 143.8 kB / 0.944 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00043/0.7803, allocations: 72.72 kB / 0.9441 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.7804, allocations: 23.98 kB / 0.9441 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.7822, allocations: 1.674 MB / 0.9457 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7822, allocations: 0 / 0.9457 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.784, allocations: 0.998 MB / 0.9467 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.7843, allocations: 279.8 kB / 0.947 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.7845, allocations: 16 kB / 0.947 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/0.7851, allocations: 63.92 kB / 0.947 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.7852, allocations: 64.91 kB / 0.9471 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.7853, allocations: 40.91 kB / 0.9471 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005204/0.7858, allocations: 451 kB / 0.9476 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7858, allocations: 4 kB / 0.9476 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008184/0.7866, allocations: 307.2 kB / 0.9479 GB, free: 7.984 MB / 0.7012 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.001444/0.7881, allocations: 0.6095 MB / 0.9485 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.7897, allocations: 0.8362 MB / 0.9493 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7897, allocations: 0 / 0.9493 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.7906, allocations: 0.5235 MB / 0.9498 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.7918, allocations: 295.6 kB / 0.9501 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.7954, allocations: 1.733 MB / 0.9518 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.796, allocations: 1.019 MB / 0.9528 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000685/0.7967, allocations: 254.5 kB / 0.953 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.797, allocations: 107.4 kB / 0.9531 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of SimCode: time 7.22e-07/0.797, allocations: 0 / 0.9531 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of Templates: time 0.0227/0.8197, allocations: 15.17 MB / 0.9679 GB, free: 3.754 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)