Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005199/0.005199, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.001207/0.001207, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 282.9 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9234/0.9234, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 95.84 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.148, allocations: 86.97 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005426/0.1534, allocations: 4.434 MB / 0.7707 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4808/0.6342, allocations: 150.6 MB / 0.9178 GB, free: 7.559 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006805/0.6349, allocations: 23.88 kB / 0.9178 GB, free: 7.535 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.6354, allocations: 177.5 kB / 0.918 GB, free: 7.363 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.6369, allocations: 0.5216 MB / 0.9185 GB, free: 6.859 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.6386, allocations: 0.8294 MB / 0.9193 GB, free: 6.059 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.6398, allocations: 1.359 MB / 0.9206 GB, free: 4.691 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007618/0.6405, allocations: 0.6242 MB / 0.9212 GB, free: 4.047 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004953/0.641, allocations: 0.4905 MB / 0.9217 GB, free: 3.555 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.6415, allocations: 0.5056 MB / 0.9222 GB, free: 3.047 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.6417, allocations: 120 kB / 0.9223 GB, free: 2.93 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007062/0.6424, allocations: 493.4 kB / 0.9228 GB, free: 2.449 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.6426, allocations: 303 kB / 0.9231 GB, free: 2.152 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.6431, allocations: 0.5596 MB / 0.9236 GB, free: 1.59 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.6445, allocations: 1.638 MB / 0.9252 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6445, allocations: 4.75 kB / 0.9252 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6445, allocations: 0 / 0.9252 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.6445, allocations: 0 / 0.9252 GB, free: 15.95 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002285/0.6468, allocations: 1.452 MB / 0.9266 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.6469, allocations: 8.031 kB / 0.9266 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008461/0.6477, allocations: 191.3 kB / 0.9268 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.6488, allocations: 0.7784 MB / 0.9276 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.6488, allocations: 65.98 kB / 0.9276 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6489, allocations: 85.97 kB / 0.9277 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.6504, allocations: 0.9457 MB / 0.9286 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.6505, allocations: 4.438 kB / 0.9286 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.6505, allocations: 36 kB / 0.9287 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.6506, allocations: 31.92 kB / 0.9287 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.6523, allocations: 1.124 MB / 0.9298 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.6558, allocations: 2.514 MB / 0.9323 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.6573, allocations: 0.9181 MB / 0.9332 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.6578, allocations: 318.7 kB / 0.9335 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/0.6579, allocations: 32.69 kB / 0.9335 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008457/0.6587, allocations: 0.5197 MB / 0.934 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 2.094e-06/0.6587, allocations: 0 / 0.934 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.003098/0.6618, allocations: 1.243 MB / 0.9352 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.6619, allocations: 196.9 kB / 0.9354 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.6626, allocations: 0.641 MB / 0.936 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.6627, allocations: 41.7 kB / 0.9361 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.663, allocations: 404.3 kB / 0.9365 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.6632, allocations: 280 kB / 0.9367 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.6634, allocations: 178.5 kB / 0.9369 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6635, allocations: 390.4 kB / 0.9373 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.6641, allocations: 277.8 kB / 0.9375 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.6647, allocations: 376 kB / 0.9379 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6658, allocations: 0.6368 MB / 0.9385 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6658, allocations: 0 / 0.9385 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001867/0.6677, allocations: 0.88 MB / 0.9394 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6677, allocations: 12.12 kB / 0.9394 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6677, allocations: 0 / 0.9394 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.6683, allocations: 92.64 kB / 0.9395 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.669, allocations: 175.7 kB / 0.9396 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.671, allocations: 1.625 MB / 0.9412 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.6717, allocations: 95.22 kB / 0.9413 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.6718, allocations: 42.47 kB / 0.9414 GB, free: 14.88 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.000339/0.6721, allocations: 275.7 kB / 0.9416 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.6723, allocations: 90.97 kB / 0.9417 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.6747, allocations: 1.131 MB / 0.9428 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.6747, allocations: 15.94 kB / 0.9428 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.6747, allocations: 0 / 0.9428 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6747, allocations: 3.984 kB / 0.9428 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.6778, allocations: 2.029 MB / 0.9448 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.6778, allocations: 0 / 0.9448 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.6784, allocations: 155.8 kB / 0.945 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.6788, allocations: 68.8 kB / 0.945 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.6789, allocations: 31.97 kB / 0.9451 GB, free: 11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.6806, allocations: 1.658 MB / 0.9467 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6806, allocations: 0 / 0.9467 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.6826, allocations: 1.049 MB / 0.9477 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.683, allocations: 279.7 kB / 0.948 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.6832, allocations: 19.98 kB / 0.948 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.6838, allocations: 72.06 kB / 0.9481 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.684, allocations: 80.94 kB / 0.9481 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.6841, allocations: 39.98 kB / 0.9482 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000519/0.6846, allocations: 463 kB / 0.9486 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6846, allocations: 0 / 0.9486 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008176/0.6854, allocations: 329.9 kB / 0.9489 GB, free: 6.867 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001402/0.6868, allocations: 0.6205 MB / 0.9495 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.6886, allocations: 0.8675 MB / 0.9504 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6886, allocations: 0 / 0.9504 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.6895, allocations: 0.5431 MB / 0.9509 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.6908, allocations: 297.1 kB / 0.9512 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.6944, allocations: 1.802 MB / 0.953 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.6949, allocations: 1.043 MB / 0.954 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006784/0.6956, allocations: 278.8 kB / 0.9542 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.6959, allocations: 107.4 kB / 0.9543 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.6959, allocations: 0 / 0.9543 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of Templates: time 0.02396/0.7198, allocations: 15.71 MB / 0.9697 GB, free: 1.938 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)