Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_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.0008787/0.0008787, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.00503/0.00503, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.089/2.089, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002736, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.4952, allocations: 142.4 MB / 0.9552 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.003454/0.4987, allocations: 4.022 MB / 0.9591 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1297/0.6284, allocations: 146.7 MB / 1.102 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006015/0.629, allocations: 19.88 kB / 1.102 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.6295, allocations: 138.9 kB / 1.102 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.6308, allocations: 455.7 kB / 1.103 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.6323, allocations: 0.721 MB / 1.104 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.6335, allocations: 1.261 MB / 1.105 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007426/0.6343, allocations: 0.5844 MB / 1.105 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.6347, allocations: 366.2 kB / 1.106 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004593/0.6352, allocations: 401.8 kB / 1.106 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.6353, allocations: 24 kB / 1.106 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006269/0.6359, allocations: 371.6 kB / 1.107 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.6361, allocations: 187.1 kB / 1.107 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003723/0.6365, allocations: 478.7 kB / 1.107 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.6378, allocations: 1.495 MB / 1.109 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6378, allocations: 4 kB / 1.109 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6378, allocations: 0 / 1.109 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.42e-05/0.6378, allocations: 0 / 1.109 GB, free: 1.586 MB / 0.8575 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.002072/0.6399, allocations: 1.247 MB / 1.11 GB, free: 300 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.6399, allocations: 8.031 kB / 1.11 GB, free: 292 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.6401, allocations: 143.5 kB / 1.11 GB, free: 140 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.6409, allocations: 195.5 kB / 1.11 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008751/0.6418, allocations: 0.7582 MB / 1.111 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.6419, allocations: 66 kB / 1.111 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.642, allocations: 87.94 kB / 1.111 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.6434, allocations: 0.9535 MB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6434, allocations: 0 / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.6435, allocations: 36 kB / 1.112 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.6435, allocations: 27.98 kB / 1.112 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.6451, allocations: 1.136 MB / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.6485, allocations: 2.582 MB / 1.116 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.6499, allocations: 0.9227 MB / 1.117 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/0.6504, allocations: 324.8 kB / 1.117 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/0.6505, allocations: 36.61 kB / 1.117 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007981/0.6513, allocations: 0.5198 MB / 1.117 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 1.794e-06/0.6513, allocations: 0 / 1.117 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.002905/0.6542, allocations: 1.267 MB / 1.119 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.6543, allocations: 196.9 kB / 1.119 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.655, allocations: 0.6371 MB / 1.12 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.6551, allocations: 45.69 kB / 1.12 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.6553, allocations: 404.4 kB / 1.12 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.6555, allocations: 276 kB / 1.12 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.6556, allocations: 65.69 kB / 1.12 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6557, allocations: 386.7 kB / 1.121 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.6562, allocations: 261.9 kB / 1.121 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.6568, allocations: 383.3 kB / 1.121 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.6578, allocations: 0.6172 MB / 1.122 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6578, allocations: 0 / 1.122 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001705/0.6595, allocations: 0.8448 MB / 1.123 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6595, allocations: 11.94 kB / 1.123 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6595, allocations: 0 / 1.123 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.6601, allocations: 84.89 kB / 1.123 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006147/0.6607, allocations: 163.8 kB / 1.123 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.6625, allocations: 1.524 MB / 1.124 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.6631, allocations: 108.6 kB / 1.125 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.6631, allocations: 36.03 kB / 1.125 GB, free: 0.7305 MB / 0.8731 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.0003244/0.6635, allocations: 275.2 kB / 1.125 GB, free: 464 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6636, allocations: 82.97 kB / 1.125 GB, free: 380 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.6659, allocations: 1.144 MB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.6659, allocations: 12 kB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6659, allocations: 7.938 kB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.666, allocations: 7.984 kB / 1.126 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.6689, allocations: 2.044 MB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6689, allocations: 0 / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.6695, allocations: 159.8 kB / 1.128 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.67, allocations: 80.78 kB / 1.128 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.67, allocations: 31.97 kB / 1.128 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.6716, allocations: 1.548 MB / 1.13 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6716, allocations: 0 / 1.13 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.6735, allocations: 1.058 MB / 1.131 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.6738, allocations: 299.6 kB / 1.131 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.6739, allocations: 16 kB / 1.131 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.6746, allocations: 89.89 kB / 1.131 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.6747, allocations: 76.88 kB / 1.131 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/0.6748, allocations: 39.98 kB / 1.131 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004873/0.6753, allocations: 463 kB / 1.132 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6753, allocations: 0 / 1.132 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006762/0.676, allocations: 315.2 kB / 1.132 GB, free: 8.766 MB / 0.8887 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.003189/0.6792, allocations: 2.12 MB / 1.134 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.6807, allocations: 0.8468 MB / 1.135 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6807, allocations: 4 kB / 1.135 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008747/0.6815, allocations: 0.5472 MB / 1.136 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.6827, allocations: 267.3 kB / 1.136 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.6939, allocations: 7.222 MB / 1.143 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.6944, allocations: 1.04 MB / 1.144 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007405/0.6952, allocations: 270.8 kB / 1.144 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.6957, allocations: 395.3 kB / 1.144 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.6957, allocations: 0 / 1.144 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.309/1.005, allocations: 20.54 MB / 1.165 GB, free: 7.887 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/1.005, allocations: 316.6 kB / 1.165 GB, free: 7.504 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.151, allocations: 0 / 1.165 GB, free: 7.504 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)