Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004319/0.004319, allocations: 101.3 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.001238/0.001238, allocations: 194.3 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.518/2.518, allocations: 482.6 MB / 0.755 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 64.8 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2575, allocations: 162.3 MB / 1.242 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005819/0.2634, allocations: 4.946 MB / 1.247 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1473/0.4106, allocations: 150.6 MB / 1.394 GB, free: 12.84 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006539/0.4113, allocations: 19.88 kB / 1.394 GB, free: 12.82 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.4119, allocations: 194.2 kB / 1.394 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.4133, allocations: 0.5583 MB / 1.395 GB, free: 12.07 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.4149, allocations: 0.8529 MB / 1.395 GB, free: 11.22 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.4162, allocations: 1.432 MB / 1.397 GB, free: 9.777 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007343/0.4169, allocations: 0.5873 MB / 1.397 GB, free: 9.164 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.4174, allocations: 0.5022 MB / 1.398 GB, free: 8.66 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.418, allocations: 0.5173 MB / 1.398 GB, free: 8.141 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.4181, allocations: 123.9 kB / 1.398 GB, free: 8.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006671/0.4188, allocations: 487.5 kB / 1.399 GB, free: 7.543 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.4191, allocations: 299.1 kB / 1.399 GB, free: 7.25 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.4196, allocations: 0.583 MB / 1.4 GB, free: 6.664 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.4211, allocations: 1.669 MB / 1.401 GB, free: 4.988 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4211, allocations: 0 / 1.401 GB, free: 4.988 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4211, allocations: 0 / 1.401 GB, free: 4.988 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.4211, allocations: 4 kB / 1.401 GB, free: 4.984 MB / 1.123 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.002293/0.4234, allocations: 1.516 MB / 1.403 GB, free: 3.414 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.4235, allocations: 8.031 kB / 1.403 GB, free: 3.406 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.4236, allocations: 139.6 kB / 1.403 GB, free: 3.262 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/0.4244, allocations: 192.1 kB / 1.403 GB, free: 3.074 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.4255, allocations: 0.7863 MB / 1.404 GB, free: 2.246 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.4255, allocations: 66 kB / 1.404 GB, free: 2.18 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.4257, allocations: 80 kB / 1.404 GB, free: 2.102 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.4271, allocations: 0.9418 MB / 1.405 GB, free: 1.121 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.4271, allocations: 0 / 1.405 GB, free: 1.121 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/0.4272, allocations: 43.98 kB / 1.405 GB, free: 1.078 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.4272, allocations: 20 kB / 1.405 GB, free: 1.059 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.4289, allocations: 1.139 MB / 1.406 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003573/0.4325, allocations: 2.794 MB / 1.409 GB, free: 12.99 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.434, allocations: 0.9088 MB / 1.41 GB, free: 12.05 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.4345, allocations: 314.7 kB / 1.41 GB, free: 11.75 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.841e-05/0.4346, allocations: 32.69 kB / 1.41 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008238/0.4355, allocations: 0.5199 MB / 1.411 GB, free: 11.18 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 1.843e-06/0.4355, allocations: 0 / 1.411 GB, free: 11.18 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.002976/0.4384, allocations: 1.259 MB / 1.412 GB, free: 9.895 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.4386, allocations: 196.9 kB / 1.412 GB, free: 9.656 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006995/0.4393, allocations: 0.6333 MB / 1.413 GB, free: 9.016 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.4393, allocations: 41.7 kB / 1.413 GB, free: 8.969 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.4396, allocations: 421 kB / 1.413 GB, free: 8.551 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.4399, allocations: 285.5 kB / 1.413 GB, free: 8.27 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.4401, allocations: 158.6 kB / 1.414 GB, free: 8.109 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4403, allocations: 390.8 kB / 1.414 GB, free: 7.719 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.4408, allocations: 257.9 kB / 1.414 GB, free: 7.469 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.4414, allocations: 375.4 kB / 1.415 GB, free: 7.066 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.4424, allocations: 0.6172 MB / 1.415 GB, free: 6.438 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4424, allocations: 0 / 1.415 GB, free: 6.438 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001772/0.4442, allocations: 0.8374 MB / 1.416 GB, free: 5.59 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4442, allocations: 13.97 kB / 1.416 GB, free: 5.578 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4443, allocations: 0 / 1.416 GB, free: 5.578 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005314/0.4448, allocations: 84.89 kB / 1.416 GB, free: 5.492 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.4454, allocations: 159.7 kB / 1.416 GB, free: 5.336 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.4473, allocations: 1.631 MB / 1.418 GB, free: 3.562 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.4479, allocations: 93.44 kB / 1.418 GB, free: 3.473 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/0.4479, allocations: 39.91 kB / 1.418 GB, free: 3.434 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (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.00033/0.4483, allocations: 281.4 kB / 1.418 GB, free: 3.152 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.4484, allocations: 87.44 kB / 1.418 GB, free: 3.066 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.4508, allocations: 1.14 MB / 1.419 GB, free: 1.91 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4508, allocations: 12 kB / 1.419 GB, free: 1.898 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.4508, allocations: 0 / 1.419 GB, free: 1.898 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4508, allocations: 7.922 kB / 1.419 GB, free: 1.891 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.4538, allocations: 2.036 MB / 1.421 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4538, allocations: 7.875 kB / 1.421 GB, free: 15.78 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.4544, allocations: 159.8 kB / 1.422 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/0.4548, allocations: 64.8 kB / 1.422 GB, free: 15.56 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.4549, allocations: 27.97 kB / 1.422 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.4566, allocations: 1.662 MB / 1.423 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4567, allocations: 0 / 1.423 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.4586, allocations: 1.053 MB / 1.424 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.4589, allocations: 296.1 kB / 1.425 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.459, allocations: 23.95 kB / 1.425 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.4596, allocations: 63.92 kB / 1.425 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.4598, allocations: 76.89 kB / 1.425 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.4599, allocations: 31.98 kB / 1.425 GB, free: 12.16 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005161/0.4604, allocations: 471 kB / 1.425 GB, free: 11.7 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4604, allocations: 4 kB / 1.425 GB, free: 11.7 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000678/0.4611, allocations: 335.1 kB / 1.426 GB, free: 11.37 MB / 1.154 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.003784/0.4649, allocations: 2.119 MB / 1.428 GB, free: 9.406 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.4665, allocations: 0.839 MB / 1.428 GB, free: 8.555 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4665, allocations: 0 / 1.428 GB, free: 8.555 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.4677, allocations: 0.5473 MB / 1.429 GB, free: 7.992 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.4688, allocations: 305.5 kB / 1.429 GB, free: 7.711 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009148/0.4779, allocations: 6.419 MB / 1.436 GB, free: 1.129 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.4785, allocations: 1.036 MB / 1.437 GB, free: 64 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006761/0.4792, allocations: 267 kB / 1.437 GB, free: 15.8 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.4797, allocations: 399.3 kB / 1.437 GB, free: 15.41 MB / 1.17 GB Notification: Performance of SimCode: time 2.6e-07/0.4798, allocations: 0 / 1.437 GB, free: 15.41 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.378/2.858, allocations: 22.28 MB / 1.459 GB, free: 9.469 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.79/28.65, allocations: 12.11 kB / 1.459 GB, free: 9.457 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)