Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_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.001189/0.001189, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001105/0.001105, allocations: 194.9 kB / 16.25 MB, free: 6.629 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.171/1.171, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.215/2.215, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.89 kB / 0.8688 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4761, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005281/0.4814, allocations: 4.965 MB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1216/0.6031, allocations: 148.4 MB / 1.167 GB, free: 8.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.6038, allocations: 15.94 kB / 1.167 GB, free: 8.734 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.6044, allocations: 150.8 kB / 1.167 GB, free: 8.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.6059, allocations: 0.4971 MB / 1.167 GB, free: 8.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.6076, allocations: 0.7691 MB / 1.168 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.6089, allocations: 1.425 MB / 1.169 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007327/0.6096, allocations: 0.5872 MB / 1.17 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.6102, allocations: 0.5022 MB / 1.171 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.6107, allocations: 0.5173 MB / 1.171 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.6109, allocations: 120 kB / 1.171 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006701/0.6116, allocations: 463.6 kB / 1.172 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.6118, allocations: 303 kB / 1.172 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.6123, allocations: 0.5791 MB / 1.172 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.6137, allocations: 1.632 MB / 1.174 GB, free: 1.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6137, allocations: 8 kB / 1.174 GB, free: 1.176 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6137, allocations: 3.938 kB / 1.174 GB, free: 1.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.639e-05/0.6137, allocations: 3.938 kB / 1.174 GB, free: 1.168 MB / 0.92 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.002433/0.6162, allocations: 1.46 MB / 1.175 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6162, allocations: 12.03 kB / 1.175 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.6164, allocations: 139.5 kB / 1.176 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.6172, allocations: 187.4 kB / 1.176 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008627/0.6181, allocations: 0.766 MB / 1.177 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.6181, allocations: 62 kB / 1.177 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.937e-05/0.6182, allocations: 87.98 kB / 1.177 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.6196, allocations: 0.9457 MB / 1.178 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.6196, allocations: 0 / 1.178 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/0.6197, allocations: 39.98 kB / 1.178 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.6197, allocations: 28 kB / 1.178 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.6213, allocations: 1.124 MB / 1.179 GB, free: 12.18 MB / 0.9356 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.6247, allocations: 2.759 MB / 1.181 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.626, allocations: 0.9085 MB / 1.182 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.6265, allocations: 318.7 kB / 1.183 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/0.6266, allocations: 32.61 kB / 1.183 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/0.6274, allocations: 0.5197 MB / 1.183 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 1.993e-06/0.6274, allocations: 0 / 1.183 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.002952/0.6304, allocations: 1.255 MB / 1.184 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.6305, allocations: 200.8 kB / 1.185 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.6311, allocations: 0.6333 MB / 1.185 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.6312, allocations: 49.64 kB / 1.185 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.6315, allocations: 404.4 kB / 1.186 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.6316, allocations: 272.1 kB / 1.186 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.6318, allocations: 154.5 kB / 1.186 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.632, allocations: 390.8 kB / 1.186 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.6325, allocations: 253.9 kB / 1.187 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.633, allocations: 379.3 kB / 1.187 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/0.634, allocations: 0.6133 MB / 1.188 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.634, allocations: 0 / 1.188 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001722/0.6357, allocations: 0.8409 MB / 1.188 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.6357, allocations: 7.938 kB / 1.188 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6358, allocations: 0 / 1.188 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.6363, allocations: 80.91 kB / 1.189 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.637, allocations: 163.8 kB / 1.189 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.6388, allocations: 1.644 MB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006137/0.6394, allocations: 99.28 kB / 1.19 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.6395, allocations: 31.92 kB / 1.19 GB, free: 15.75 MB / 0.9512 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.0003071/0.6398, allocations: 265.7 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.6399, allocations: 82.97 kB / 1.191 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.6422, allocations: 1.152 MB / 1.192 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.6422, allocations: 12 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.6422, allocations: 0 / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.6422, allocations: 3.984 kB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.6451, allocations: 2.031 MB / 1.194 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6451, allocations: 0 / 1.194 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.6457, allocations: 155.7 kB / 1.194 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.6461, allocations: 72.78 kB / 1.194 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.6462, allocations: 27.98 kB / 1.194 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.6478, allocations: 1.654 MB / 1.196 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6478, allocations: 0 / 1.196 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.6496, allocations: 1.058 MB / 1.197 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.6499, allocations: 279.7 kB / 1.197 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.6501, allocations: 35.84 kB / 1.197 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/0.6507, allocations: 63.92 kB / 1.197 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.6509, allocations: 80.89 kB / 1.197 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.651, allocations: 39.97 kB / 1.197 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004607/0.6514, allocations: 463 kB / 1.198 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6514, allocations: 4 kB / 1.198 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006706/0.6521, allocations: 331.2 kB / 1.198 GB, free: 7.703 MB / 0.9512 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.003122/0.6552, allocations: 2.106 MB / 1.2 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.6573, allocations: 1.073 MB / 1.201 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6573, allocations: 0 / 1.201 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008263/0.6582, allocations: 0.5395 MB / 1.202 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.6593, allocations: 300.5 kB / 1.202 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009935/0.6692, allocations: 7.035 MB / 1.209 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.6697, allocations: 1.039 MB / 1.21 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007283/0.6704, allocations: 270.9 kB / 1.21 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.6709, allocations: 403.2 kB / 1.21 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.6709, allocations: 4 kB / 1.21 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.918/4.589, allocations: 21.82 MB / 1.232 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/4.589, allocations: 318.1 kB / 1.232 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/6.737, allocations: 0 / 1.232 GB, free: 5.109 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)