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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001149/0.001149, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.178/1.178, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.349/2.349, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 62.59 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2207, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005478/0.2262, allocations: 4.959 MB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.128/0.3542, allocations: 148.3 MB / 1.202 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006916/0.355, allocations: 15.94 kB / 1.202 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.3556, allocations: 154.8 kB / 1.202 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.3571, allocations: 480.6 kB / 1.203 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.3587, allocations: 0.7362 MB / 1.203 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3599, allocations: 1.339 MB / 1.205 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007142/0.3606, allocations: 0.5752 MB / 1.205 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004793/0.3611, allocations: 442.2 kB / 1.206 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.3616, allocations: 0.49 MB / 1.206 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.3617, allocations: 56 kB / 1.206 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000654/0.3623, allocations: 399.6 kB / 1.206 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.3626, allocations: 239 kB / 1.207 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.363, allocations: 0.5205 MB / 1.207 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.3642, allocations: 1.577 MB / 1.209 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3642, allocations: 0 / 1.209 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.02e-07/0.3642, allocations: 0 / 1.209 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3642, allocations: 0 / 1.209 GB, free: 7.371 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.00229/0.3665, allocations: 1.468 MB / 1.21 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.3665, allocations: 8.031 kB / 1.21 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.3667, allocations: 139.6 kB / 1.21 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.3675, allocations: 187.4 kB / 1.21 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008677/0.3684, allocations: 0.7661 MB / 1.211 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.3685, allocations: 62 kB / 1.211 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.47e-05/0.3686, allocations: 84 kB / 1.211 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.37, allocations: 0.9418 MB / 1.212 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.37, allocations: 3.984 kB / 1.212 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.3701, allocations: 43.94 kB / 1.212 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3701, allocations: 20 kB / 1.212 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.3717, allocations: 1.124 MB / 1.213 GB, free: 2.387 MB / 0.9669 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.003422/0.3751, allocations: 2.763 MB / 1.216 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.3765, allocations: 0.9193 MB / 1.217 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.3771, allocations: 318.7 kB / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.3771, allocations: 28.69 kB / 1.217 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008246/0.378, allocations: 0.5236 MB / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 1.783e-06/0.378, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.00298/0.381, allocations: 1.259 MB / 1.219 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.3811, allocations: 200.8 kB / 1.219 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.3817, allocations: 0.6333 MB / 1.22 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.3818, allocations: 41.7 kB / 1.22 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.382, allocations: 400.4 kB / 1.22 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.3822, allocations: 280 kB / 1.221 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.3824, allocations: 154.5 kB / 1.221 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3825, allocations: 390.8 kB / 1.221 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.383, allocations: 253.9 kB / 1.221 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.3836, allocations: 379.3 kB / 1.222 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3846, allocations: 0.6172 MB / 1.222 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3846, allocations: 0 / 1.222 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001733/0.3864, allocations: 0.837 MB / 1.223 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3864, allocations: 15.97 kB / 1.223 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3864, allocations: 3.938 kB / 1.223 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005518/0.3869, allocations: 84.77 kB / 1.223 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.3876, allocations: 155.8 kB / 1.223 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.3893, allocations: 1.52 MB / 1.225 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.3899, allocations: 99.3 kB / 1.225 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.39, allocations: 31.97 kB / 1.225 GB, free: 6.07 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.0003111/0.3903, allocations: 269.4 kB / 1.225 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.3904, allocations: 86.95 kB / 1.225 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.3927, allocations: 1.148 MB / 1.226 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3927, allocations: 8 kB / 1.226 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3928, allocations: 3.938 kB / 1.226 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3928, allocations: 3.984 kB / 1.226 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.3956, allocations: 2.021 MB / 1.228 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3956, allocations: 0 / 1.228 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.3962, allocations: 155.8 kB / 1.229 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004717/0.3967, allocations: 88.72 kB / 1.229 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.3968, allocations: 27.97 kB / 1.229 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.3983, allocations: 1.544 MB / 1.23 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3984, allocations: 0 / 1.23 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.4002, allocations: 1.051 MB / 1.231 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.4006, allocations: 283.7 kB / 1.232 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.4007, allocations: 19.94 kB / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.4014, allocations: 81.69 kB / 1.232 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.4015, allocations: 76.88 kB / 1.232 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.4016, allocations: 39.97 kB / 1.232 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004852/0.4021, allocations: 463 kB / 1.232 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4021, allocations: 0 / 1.232 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006807/0.4028, allocations: 335.1 kB / 1.232 GB, free: 14.14 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.003244/0.406, allocations: 2.093 MB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.4075, allocations: 0.8392 MB / 1.235 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4075, allocations: 7.938 kB / 1.235 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008745/0.4084, allocations: 0.5354 MB / 1.236 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4094, allocations: 280 kB / 1.236 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009982/0.4194, allocations: 7.052 MB / 1.243 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.4199, allocations: 1.036 MB / 1.244 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000726/0.4206, allocations: 270.9 kB / 1.244 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.4211, allocations: 399.3 kB / 1.245 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.4211, allocations: 0 / 1.245 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3857/0.8069, allocations: 21.21 MB / 1.265 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.8071, allocations: 313.1 kB / 1.266 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.912, allocations: 2.672 kB / 1.266 GB, free: 187.8 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)