Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_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.004309/0.004309, allocations: 101.1 kB / 15.88 MB, free: 6.312 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.001102/0.001102, allocations: 198.4 kB / 16.79 MB, free: 6.242 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.176/1.176, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6132/0.6132, allocations: 115.3 MB / 405.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 76.47 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1118, allocations: 76.18 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00568/0.1175, allocations: 5.108 MB / 0.5608 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.323/0.4405, allocations: 148.3 MB / 0.7057 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.4412, allocations: 15.94 kB / 0.7057 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.4419, allocations: 162.8 kB / 0.7059 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.4434, allocations: 483 kB / 0.7063 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.445, allocations: 0.7371 MB / 0.707 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001278/0.4463, allocations: 1.35 MB / 0.7084 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008108/0.4471, allocations: 0.6389 MB / 0.709 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.4477, allocations: 456.2 kB / 0.7094 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005411/0.4482, allocations: 0.5094 MB / 0.7099 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.4484, allocations: 71.75 kB / 0.71 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00069/0.4491, allocations: 407.1 kB / 0.7104 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.4493, allocations: 255 kB / 0.7106 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004713/0.4498, allocations: 0.5478 MB / 0.7112 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.4512, allocations: 1.634 MB / 0.7128 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4512, allocations: 4 kB / 0.7128 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4512, allocations: 4 kB / 0.7128 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.599e-05/0.4513, allocations: 0 / 0.7128 GB, free: 6.125 MB / 0.5294 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.002515/0.4538, allocations: 1.505 MB / 0.7142 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.4538, allocations: 8.031 kB / 0.7142 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.454, allocations: 148.1 kB / 0.7144 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.455, allocations: 215.3 kB / 0.7146 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009369/0.456, allocations: 0.7579 MB / 0.7153 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.4561, allocations: 70 kB / 0.7154 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.4562, allocations: 92 kB / 0.7155 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.4577, allocations: 1.007 MB / 0.7165 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.4577, allocations: 4 kB / 0.7165 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/0.4578, allocations: 39.98 kB / 0.7165 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.4578, allocations: 24 kB / 0.7165 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.4596, allocations: 1.171 MB / 0.7177 GB, free: 0.957 MB / 0.5294 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.003651/0.4632, allocations: 2.894 MB / 0.7205 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.4654, allocations: 0.9708 MB / 0.7214 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.466, allocations: 314.7 kB / 0.7217 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.925e-05/0.4661, allocations: 32.59 kB / 0.7218 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008429/0.4669, allocations: 0.4991 MB / 0.7223 GB, free: 12.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=82): time 1.953e-06/0.4669, allocations: 0 / 0.7223 GB, free: 12.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=82): time 0.003014/0.4699, allocations: 1.225 MB / 0.7235 GB, free: 10.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.47, allocations: 196.5 kB / 0.7236 GB, free: 10.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.4707, allocations: 0.6411 MB / 0.7243 GB, free: 9.941 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.4708, allocations: 49.62 kB / 0.7243 GB, free: 9.887 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.471, allocations: 424.2 kB / 0.7247 GB, free: 9.465 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.4712, allocations: 268.2 kB / 0.725 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.4714, allocations: 150.5 kB / 0.7251 GB, free: 9.047 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4715, allocations: 386.8 kB / 0.7255 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.4721, allocations: 260.3 kB / 0.7257 GB, free: 8.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.4727, allocations: 362.5 kB / 0.7261 GB, free: 8.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.4737, allocations: 0.6033 MB / 0.7267 GB, free: 7.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4737, allocations: 0.875 kB / 0.7267 GB, free: 7.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001762/0.4755, allocations: 0.8214 MB / 0.7275 GB, free: 6.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4755, allocations: 12.03 kB / 0.7275 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4755, allocations: 0 / 0.7275 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/0.4761, allocations: 84.77 kB / 0.7276 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.4767, allocations: 155.8 kB / 0.7277 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.4785, allocations: 1.528 MB / 0.7292 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.4791, allocations: 93.03 kB / 0.7293 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.4792, allocations: 31.98 kB / 0.7293 GB, free: 4.547 MB / 0.545 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.0003317/0.4795, allocations: 270.3 kB / 0.7296 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.4797, allocations: 86.97 kB / 0.7297 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.482, allocations: 1.098 MB / 0.7307 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.482, allocations: 12 kB / 0.7308 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.482, allocations: 3.938 kB / 0.7308 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.482, allocations: 3.984 kB / 0.7308 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.485, allocations: 2.004 MB / 0.7327 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.485, allocations: 8.062 kB / 0.7327 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.4856, allocations: 151.8 kB / 0.7329 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004871/0.4861, allocations: 88.75 kB / 0.733 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.4861, allocations: 23.98 kB / 0.733 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.4878, allocations: 1.536 MB / 0.7345 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4878, allocations: 0.8594 kB / 0.7345 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.4897, allocations: 1.019 MB / 0.7355 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.49, allocations: 287.5 kB / 0.7358 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.4901, allocations: 20 kB / 0.7358 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/0.4908, allocations: 67.92 kB / 0.7358 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.4909, allocations: 76.89 kB / 0.7359 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.479e-05/0.491, allocations: 31.98 kB / 0.7359 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004787/0.4915, allocations: 479 kB / 0.7364 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4915, allocations: 0 / 0.7364 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000683/0.4922, allocations: 331.1 kB / 0.7367 GB, free: 12.74 MB / 0.5606 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.00322/0.4954, allocations: 2.075 MB / 0.7387 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.4969, allocations: 0.8163 MB / 0.7395 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4969, allocations: 0 / 0.7395 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008855/0.4978, allocations: 0.5353 MB / 0.7401 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.4989, allocations: 277.2 kB / 0.7403 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.5092, allocations: 7.079 MB / 0.7472 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.5097, allocations: 1.047 MB / 0.7483 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000745/0.5105, allocations: 270.9 kB / 0.7485 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/0.511, allocations: 407.3 kB / 0.7489 GB, free: 208 kB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.511, allocations: 0 / 0.7489 GB, free: 208 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.176/3.687, allocations: 21.21 MB / 0.7696 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/3.688, allocations: 319.9 kB / 0.7699 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/5.875, allocations: 0 / 0.7699 GB, free: 11.02 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)