Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.0008636/0.0008637, allocations: 91.06 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.005065/0.005065, allocations: 172 kB / 16.26 MB, free: 6.613 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.179/1.179, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.242/2.242, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002978, allocations: 16 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4858, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004619/0.4904, allocations: 4.718 MB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1264/0.6169, allocations: 146.7 MB / 1.171 GB, free: 7.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005893/0.6175, allocations: 11.94 kB / 1.171 GB, free: 7.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.618, allocations: 162.8 kB / 1.171 GB, free: 7.672 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.6193, allocations: 489.2 kB / 1.172 GB, free: 7.195 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.6208, allocations: 0.7453 MB / 1.172 GB, free: 6.457 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.6221, allocations: 1.342 MB / 1.174 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.6228, allocations: 0.6119 MB / 1.174 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.6233, allocations: 370.2 kB / 1.175 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.6238, allocations: 409.8 kB / 1.175 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.6239, allocations: 24 kB / 1.175 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.6245, allocations: 371.6 kB / 1.175 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.6247, allocations: 191.1 kB / 1.176 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.6251, allocations: 0.4909 MB / 1.176 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.6264, allocations: 1.592 MB / 1.178 GB, free: 1.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6264, allocations: 0 / 1.178 GB, free: 1.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6264, allocations: 4 kB / 1.178 GB, free: 1.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.6264, allocations: 0 / 1.178 GB, free: 1.031 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001957/0.6284, allocations: 1.259 MB / 1.179 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.6284, allocations: 19.91 kB / 1.179 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.6286, allocations: 156.1 kB / 1.179 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009738/0.6295, allocations: 227.3 kB / 1.179 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008565/0.6304, allocations: 0.7536 MB / 1.18 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.6305, allocations: 81.97 kB / 1.18 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.6306, allocations: 91.94 kB / 1.18 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.6321, allocations: 1.007 MB / 1.181 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.6321, allocations: 4 kB / 1.181 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.6322, allocations: 40 kB / 1.181 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.6322, allocations: 28 kB / 1.181 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.634, allocations: 1.179 MB / 1.182 GB, free: 12.06 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.003591/0.6376, allocations: 2.926 MB / 1.185 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.6397, allocations: 0.9859 MB / 1.186 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.6403, allocations: 318.7 kB / 1.186 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.941e-05/0.6404, allocations: 32.61 kB / 1.187 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008011/0.6412, allocations: 0.503 MB / 1.187 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 1.783e-06/0.6412, allocations: 4 kB / 1.187 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.002899/0.6441, allocations: 1.241 MB / 1.188 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.6442, allocations: 192.5 kB / 1.188 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.6448, allocations: 0.6449 MB / 1.189 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.6449, allocations: 41.7 kB / 1.189 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.6451, allocations: 428.2 kB / 1.189 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.6453, allocations: 264.2 kB / 1.19 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.6454, allocations: 57.69 kB / 1.19 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6456, allocations: 398.7 kB / 1.19 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.6461, allocations: 261.9 kB / 1.19 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.6466, allocations: 366.5 kB / 1.191 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.6477, allocations: 0.6111 MB / 1.191 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6477, allocations: 0 / 1.191 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00171/0.6494, allocations: 0.8331 MB / 1.192 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6494, allocations: 8 kB / 1.192 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6494, allocations: 0 / 1.192 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005388/0.65, allocations: 84.86 kB / 1.192 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.6506, allocations: 159.8 kB / 1.192 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.6523, allocations: 1.529 MB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.6529, allocations: 108.9 kB / 1.194 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.653, allocations: 35.97 kB / 1.194 GB, free: 15.61 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003134/0.6533, allocations: 277.7 kB / 1.194 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.6534, allocations: 86.97 kB / 1.194 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.6557, allocations: 1.097 MB / 1.195 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6557, allocations: 11.94 kB / 1.195 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6557, allocations: 7.984 kB / 1.196 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6557, allocations: 3.984 kB / 1.196 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.6586, allocations: 2.016 MB / 1.197 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6586, allocations: 0 / 1.197 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.6592, allocations: 151.8 kB / 1.198 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/0.6596, allocations: 80.77 kB / 1.198 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.6597, allocations: 27.98 kB / 1.198 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.6612, allocations: 1.548 MB / 1.199 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6613, allocations: 7.938 kB / 1.199 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.6631, allocations: 1.027 MB / 1.2 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.6634, allocations: 295.5 kB / 1.201 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6635, allocations: 16 kB / 1.201 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.6642, allocations: 83.92 kB / 1.201 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.6643, allocations: 76.89 kB / 1.201 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.6644, allocations: 39.86 kB / 1.201 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004692/0.6648, allocations: 475 kB / 1.201 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6648, allocations: 0 / 1.201 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000659/0.6655, allocations: 335.1 kB / 1.202 GB, free: 7.723 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0031/0.6686, allocations: 2.078 MB / 1.204 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.6701, allocations: 0.8314 MB / 1.204 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6701, allocations: 0 / 1.204 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008447/0.6709, allocations: 0.5353 MB / 1.205 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6721, allocations: 280.5 kB / 1.205 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6822, allocations: 7.139 MB / 1.212 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.6827, allocations: 1.043 MB / 1.213 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007223/0.6834, allocations: 270.9 kB / 1.213 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.6839, allocations: 403.3 kB / 1.214 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.6839, allocations: 0 / 1.214 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.037/1.72, allocations: 20.92 MB / 1.234 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/1.721, allocations: 323.9 kB / 1.235 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/4.236, allocations: 0 / 1.235 GB, free: 6.227 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)