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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> 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.001419/0.001419, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.474/2.474, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.22 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2352, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005883/0.2411, allocations: 4.952 MB / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.131/0.3722, allocations: 150.6 MB / 1.205 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.3729, allocations: 19.88 kB / 1.205 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.3734, allocations: 186.2 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.3751, allocations: 0.5508 MB / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.3769, allocations: 0.8549 MB / 1.206 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.3782, allocations: 1.417 MB / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007698/0.379, allocations: 0.595 MB / 1.208 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.3796, allocations: 498.3 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005929/0.3802, allocations: 0.5212 MB / 1.209 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.3804, allocations: 116 kB / 1.209 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007424/0.3811, allocations: 467.6 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.3814, allocations: 303 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005067/0.3819, allocations: 0.5791 MB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.3834, allocations: 1.632 MB / 1.212 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3834, allocations: 3.938 kB / 1.212 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.21e-07/0.3834, allocations: 0 / 1.212 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.501e-05/0.3834, allocations: 0 / 1.212 GB, free: 4.352 MB / 0.9669 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.002396/0.3858, allocations: 1.46 MB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.3858, allocations: 16.56 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.386, allocations: 139.6 kB / 1.214 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008464/0.3869, allocations: 183.4 kB / 1.214 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009284/0.3878, allocations: 0.7583 MB / 1.215 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.3878, allocations: 73.98 kB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.388, allocations: 88 kB / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.3893, allocations: 0.9534 MB / 1.216 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3894, allocations: 0 / 1.216 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.3894, allocations: 36 kB / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.3895, allocations: 20 kB / 1.216 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.3911, allocations: 1.128 MB / 1.217 GB, free: 15.36 MB / 0.9825 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.003505/0.3946, allocations: 2.763 MB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.396, allocations: 0.9121 MB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.3965, allocations: 322.7 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/0.3966, allocations: 32.61 kB / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.3977, allocations: 0.5119 MB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.024e-06/0.3977, allocations: 0 / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.002986/0.4007, allocations: 1.259 MB / 1.223 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.4008, allocations: 204.8 kB / 1.223 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.4014, allocations: 0.6333 MB / 1.224 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.4015, allocations: 45.7 kB / 1.224 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.4017, allocations: 400.4 kB / 1.224 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.4019, allocations: 276 kB / 1.224 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.4021, allocations: 154.5 kB / 1.224 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4023, allocations: 390.8 kB / 1.225 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.4028, allocations: 261.8 kB / 1.225 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.4033, allocations: 375.3 kB / 1.225 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.4044, allocations: 0.6094 MB / 1.226 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4044, allocations: 0 / 1.226 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001765/0.4061, allocations: 0.8409 MB / 1.227 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4062, allocations: 7.938 kB / 1.227 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4062, allocations: 0 / 1.227 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.4067, allocations: 84.89 kB / 1.227 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.4073, allocations: 163.8 kB / 1.227 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.4091, allocations: 1.635 MB / 1.229 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.4098, allocations: 89.3 kB / 1.229 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.4098, allocations: 39.91 kB / 1.229 GB, free: 2.934 MB / 0.9825 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.0003144/0.4101, allocations: 267.3 kB / 1.229 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.4103, allocations: 86.97 kB / 1.229 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.4126, allocations: 1.148 MB / 1.23 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.4126, allocations: 12 kB / 1.23 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.4126, allocations: 0 / 1.23 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.4126, allocations: 3.984 kB / 1.23 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.4155, allocations: 2.021 MB / 1.232 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4156, allocations: 0 / 1.232 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.4161, allocations: 159.7 kB / 1.232 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/0.4166, allocations: 76.78 kB / 1.232 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.4166, allocations: 23.98 kB / 1.232 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.4183, allocations: 1.666 MB / 1.234 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4183, allocations: 4.062 kB / 1.234 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.4201, allocations: 1.058 MB / 1.235 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.4205, allocations: 279.6 kB / 1.235 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.4206, allocations: 20 kB / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/0.4212, allocations: 67.92 kB / 1.235 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4214, allocations: 80.89 kB / 1.236 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.4215, allocations: 39.97 kB / 1.236 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000482/0.4219, allocations: 463 kB / 1.236 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4219, allocations: 0 / 1.236 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006943/0.4226, allocations: 331.2 kB / 1.236 GB, free: 10.9 MB / 0.9981 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.003166/0.4258, allocations: 2.1 MB / 1.238 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002143/0.428, allocations: 1.057 MB / 1.239 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.428, allocations: 0 / 1.239 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.4289, allocations: 0.5473 MB / 1.24 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.4301, allocations: 306.3 kB / 1.24 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009808/0.44, allocations: 6.637 MB / 1.247 GB, free: 240 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3711/0.811, allocations: 1.034 MB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009303/0.812, allocations: 266.6 kB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/0.8125, allocations: 398.8 kB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.8125, allocations: 3.828 kB / 1.248 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3051/1.118, allocations: 22.04 MB / 1.27 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.64, allocations: 4.812 kB / 1.27 GB, free: 187.6 MB / 0.9981 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=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)