Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_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.003627/0.003627, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.0009193/0.0009193, allocations: 194 kB / 16.79 MB, free: 6.246 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.145/1.145, allocations: 222.9 MB / 240.5 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6193/0.6193, allocations: 115.3 MB / 405.9 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.91 kB / 493 MB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2589, allocations: 76.17 MB / 0.5558 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004485/0.2634, allocations: 4.934 MB / 0.5606 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1224/0.3859, allocations: 148.3 MB / 0.7055 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.3868, allocations: 19.88 kB / 0.7055 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.3874, allocations: 146.8 kB / 0.7057 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.389, allocations: 476.8 kB / 0.7061 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.3907, allocations: 0.7365 MB / 0.7068 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.392, allocations: 1.343 MB / 0.7081 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006767/0.3927, allocations: 0.5714 MB / 0.7087 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004521/0.3931, allocations: 446.2 kB / 0.7091 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.3936, allocations: 497.7 kB / 0.7096 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.3937, allocations: 60 kB / 0.7097 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006762/0.3944, allocations: 399.6 kB / 0.71 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.3946, allocations: 239.1 kB / 0.7103 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.395, allocations: 0.5321 MB / 0.7108 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.3962, allocations: 1.569 MB / 0.7123 GB, free: 3.914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3962, allocations: 0 / 0.7123 GB, free: 3.914 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.71e-07/0.3962, allocations: 0 / 0.7123 GB, free: 3.914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.3962, allocations: 0 / 0.7123 GB, free: 3.914 MB / 0.545 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.00223/0.3985, allocations: 1.471 MB / 0.7138 GB, free: 2.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3985, allocations: 11.97 kB / 0.7138 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.3986, allocations: 143.6 kB / 0.7139 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007944/0.3994, allocations: 187.3 kB / 0.7141 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008345/0.4003, allocations: 0.7544 MB / 0.7148 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.4003, allocations: 66 kB / 0.7149 GB, free: 1.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.716e-05/0.4004, allocations: 84 kB / 0.715 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4018, allocations: 0.9418 MB / 0.7159 GB, free: 128 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4018, allocations: 4 kB / 0.7159 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.4019, allocations: 43.98 kB / 0.7159 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4019, allocations: 23.94 kB / 0.716 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.4035, allocations: 1.128 MB / 0.7171 GB, free: 14.93 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.4068, allocations: 2.759 MB / 0.7197 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.4082, allocations: 0.9071 MB / 0.7206 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.4087, allocations: 321.6 kB / 0.7209 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/0.4088, allocations: 36.69 kB / 0.721 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008118/0.4096, allocations: 0.5158 MB / 0.7215 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 1.833e-06/0.4096, allocations: 0 / 0.7215 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.00292/0.4126, allocations: 1.255 MB / 0.7227 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.4126, allocations: 200.8 kB / 0.7229 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.4133, allocations: 0.6411 MB / 0.7235 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.4134, allocations: 45.64 kB / 0.7236 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.4136, allocations: 400.4 kB / 0.7239 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.4138, allocations: 272.1 kB / 0.7242 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.414, allocations: 154.5 kB / 0.7244 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4142, allocations: 390.8 kB / 0.7247 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.4146, allocations: 253.9 kB / 0.725 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.4152, allocations: 379.4 kB / 0.7253 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.4162, allocations: 0.6133 MB / 0.7259 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4162, allocations: 0 / 0.7259 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00171/0.4179, allocations: 0.8369 MB / 0.7267 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.418, allocations: 7.938 kB / 0.7268 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.418, allocations: 4 kB / 0.7268 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005454/0.4185, allocations: 84.89 kB / 0.7268 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.4191, allocations: 171.8 kB / 0.727 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.4209, allocations: 1.516 MB / 0.7285 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.4215, allocations: 99.39 kB / 0.7286 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.4216, allocations: 31.97 kB / 0.7286 GB, free: 2.617 MB / 0.5606 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.000313/0.4219, allocations: 269.5 kB / 0.7289 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.422, allocations: 86.97 kB / 0.7289 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.4244, allocations: 1.14 MB / 0.7301 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.4244, allocations: 8 kB / 0.7301 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4244, allocations: 11.88 kB / 0.7301 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.4244, allocations: 7.922 kB / 0.7301 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.4273, allocations: 2.029 MB / 0.7321 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4273, allocations: 0 / 0.7321 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.4279, allocations: 155.8 kB / 0.7322 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.4284, allocations: 80.78 kB / 0.7323 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.4284, allocations: 27.97 kB / 0.7323 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.43, allocations: 1.54 MB / 0.7338 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.43, allocations: 4.062 kB / 0.7338 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.4319, allocations: 1.054 MB / 0.7349 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.4322, allocations: 291.5 kB / 0.7351 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.4323, allocations: 16 kB / 0.7352 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.4329, allocations: 67.92 kB / 0.7352 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.4331, allocations: 80.89 kB / 0.7353 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.4332, allocations: 39.97 kB / 0.7353 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004704/0.4336, allocations: 463 kB / 0.7358 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4336, allocations: 0 / 0.7358 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006745/0.4343, allocations: 327.2 kB / 0.7361 GB, free: 10.7 MB / 0.5762 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.003161/0.4375, allocations: 2.119 MB / 0.7382 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.4389, allocations: 0.8312 MB / 0.739 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4389, allocations: 256 / 0.739 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008582/0.4398, allocations: 0.5432 MB / 0.7395 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4408, allocations: 279.3 kB / 0.7398 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.18/0.6209, allocations: 7.037 MB / 0.7466 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.6214, allocations: 1.038 MB / 0.7477 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009502/0.6224, allocations: 264.9 kB / 0.7479 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.6229, allocations: 401.3 kB / 0.7483 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.6229, allocations: 0 / 0.7483 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.14/2.763, allocations: 21.2 MB / 0.769 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/2.764, allocations: 308.3 kB / 0.7693 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/5.538, allocations: 0 / 0.7693 GB, free: 166.9 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)