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.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.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.00121/0.00121, 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.001098/0.001098, allocations: 198.6 kB / 16.25 MB, free: 6.621 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.188/1.188, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.229/2.229, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4779, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005976/0.4839, allocations: 5.15 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.6175, allocations: 148.4 MB / 1.167 GB, free: 8.566 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/0.6182, allocations: 19.88 kB / 1.167 GB, free: 8.547 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.6188, allocations: 158.8 kB / 1.167 GB, free: 8.391 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.6205, allocations: 0.4898 MB / 1.168 GB, free: 7.902 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.6222, allocations: 0.7585 MB / 1.168 GB, free: 7.148 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.6236, allocations: 1.44 MB / 1.17 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000822/0.6244, allocations: 0.6482 MB / 1.17 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.625, allocations: 0.51 MB / 1.171 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005971/0.6256, allocations: 0.5485 MB / 1.171 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.6258, allocations: 128 kB / 1.171 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006927/0.6265, allocations: 467.6 kB / 1.172 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.6268, allocations: 315 kB / 1.172 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.6273, allocations: 0.6142 MB / 1.173 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.6288, allocations: 1.698 MB / 1.174 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.6288, allocations: 0 / 1.174 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6288, allocations: 0 / 1.174 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.173e-05/0.6288, allocations: 0 / 1.174 GB, free: 0.7617 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.002331/0.6311, allocations: 1.504 MB / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.6312, allocations: 15.97 kB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.6313, allocations: 148.1 kB / 1.176 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009977/0.6323, allocations: 211.3 kB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008925/0.6332, allocations: 0.7614 MB / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.6333, allocations: 66 kB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6334, allocations: 96 kB / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.635, allocations: 1.007 MB / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.635, allocations: 0 / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.6351, allocations: 43.98 kB / 1.178 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.6351, allocations: 24 kB / 1.178 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.6369, allocations: 1.175 MB / 1.179 GB, free: 11.58 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.003706/0.6406, allocations: 2.879 MB / 1.182 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.6428, allocations: 0.9812 MB / 1.183 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.6433, allocations: 318.6 kB / 1.183 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-05/0.6434, allocations: 36.59 kB / 1.184 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00085/0.6443, allocations: 0.499 MB / 1.184 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 1.843e-06/0.6443, allocations: 4 kB / 1.184 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.002994/0.6473, allocations: 1.233 MB / 1.185 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.6474, allocations: 192.6 kB / 1.185 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006603/0.6481, allocations: 0.6371 MB / 1.186 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.6481, allocations: 45.69 kB / 1.186 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.6484, allocations: 428.2 kB / 1.186 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/0.6486, allocations: 260.2 kB / 1.187 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.6488, allocations: 154.5 kB / 1.187 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.649, allocations: 386.8 kB / 1.187 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.6495, allocations: 253.9 kB / 1.187 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005963/0.6501, allocations: 366.5 kB / 1.188 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.6512, allocations: 0.6033 MB / 1.188 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6512, allocations: 0 / 1.188 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001767/0.6529, allocations: 0.8253 MB / 1.189 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.653, allocations: 4 kB / 1.189 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.653, allocations: 4 kB / 1.189 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/0.6536, allocations: 84.86 kB / 1.189 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/0.6542, allocations: 155.8 kB / 1.189 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.6561, allocations: 1.646 MB / 1.191 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.6568, allocations: 96.34 kB / 1.191 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.6569, allocations: 32.05 kB / 1.191 GB, free: 15.04 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.0003287/0.6572, allocations: 274.7 kB / 1.191 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.6573, allocations: 82.97 kB / 1.192 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.6596, allocations: 1.101 MB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6597, allocations: 12 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.6597, allocations: 0 / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.6597, allocations: 7.969 kB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.6627, allocations: 2.001 MB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6627, allocations: 0 / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.6633, allocations: 155.8 kB / 1.195 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004139/0.6637, allocations: 76.78 kB / 1.195 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.6638, allocations: 23.98 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.6655, allocations: 1.666 MB / 1.196 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6655, allocations: 0 / 1.196 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.6674, allocations: 1.019 MB / 1.197 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.6677, allocations: 275.7 kB / 1.198 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.6678, allocations: 16 kB / 1.198 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.6685, allocations: 74.11 kB / 1.198 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.6686, allocations: 72.89 kB / 1.198 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.6687, allocations: 35.92 kB / 1.198 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004894/0.6692, allocations: 471 kB / 1.198 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6692, allocations: 0 / 1.198 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007054/0.6699, allocations: 339.1 kB / 1.199 GB, free: 7.102 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.003259/0.6732, allocations: 2.076 MB / 1.201 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002141/0.6753, allocations: 1.026 MB / 1.202 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.6753, allocations: 4 kB / 1.202 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008724/0.6762, allocations: 0.5277 MB / 1.202 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.6773, allocations: 308.7 kB / 1.203 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.688, allocations: 7.094 MB / 1.209 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.6885, allocations: 1.047 MB / 1.21 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007799/0.6893, allocations: 278.7 kB / 1.211 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.6898, allocations: 395.3 kB / 1.211 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.6898, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1934/0.8832, allocations: 21.84 MB / 1.232 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.8835, allocations: 320.3 kB / 1.233 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.077, allocations: 0 / 1.233 GB, free: 4.527 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)