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.001191/0.001191, allocations: 103 kB / 16.27 MB, free: 5.961 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.001147/0.001147, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.199/1.199, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6974/0.6974, allocations: 122.8 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2797, allocations: 77.93 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00512/0.2849, allocations: 5.104 MB / 0.5723 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1329/0.4178, allocations: 150.7 MB / 0.7194 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008553/0.4187, allocations: 19.88 kB / 0.7194 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.4192, allocations: 202.1 kB / 0.7196 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.4207, allocations: 0.566 MB / 0.7202 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.4225, allocations: 0.8402 MB / 0.721 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.4235, allocations: 1.432 MB / 0.7224 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007479/0.4242, allocations: 0.6599 MB / 0.723 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.4247, allocations: 0.5061 MB / 0.7235 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.4252, allocations: 0.5446 MB / 0.7241 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.4254, allocations: 128 kB / 0.7242 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006234/0.426, allocations: 467.6 kB / 0.7246 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.4262, allocations: 323 kB / 0.7249 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.4267, allocations: 0.6064 MB / 0.7255 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.428, allocations: 1.69 MB / 0.7272 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.428, allocations: 0 / 0.7272 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.428, allocations: 7.938 kB / 0.7272 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.428, allocations: 0 / 0.7272 GB, free: 6.48 MB / 0.5606 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.002169/0.4302, allocations: 1.498 MB / 0.7286 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.4302, allocations: 8.625 kB / 0.7287 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.4304, allocations: 152.1 kB / 0.7288 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.4314, allocations: 215.2 kB / 0.729 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.4323, allocations: 0.7731 MB / 0.7298 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.4323, allocations: 66 kB / 0.7298 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.4324, allocations: 92 kB / 0.7299 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4339, allocations: 1.007 MB / 0.7309 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4339, allocations: 0 / 0.7309 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.434, allocations: 47.94 kB / 0.7309 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.434, allocations: 20 kB / 0.731 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.4358, allocations: 1.171 MB / 0.7321 GB, free: 1.305 MB / 0.5606 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.003586/0.4394, allocations: 2.883 MB / 0.7349 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.4416, allocations: 0.974 MB / 0.7359 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.4421, allocations: 318.7 kB / 0.7362 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-05/0.4422, allocations: 28.61 kB / 0.7362 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008213/0.443, allocations: 0.503 MB / 0.7367 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.064e-06/0.443, allocations: 0 / 0.7367 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003015/0.4461, allocations: 1.233 MB / 0.7379 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.953e-05/0.4462, allocations: 196.6 kB / 0.7381 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.4468, allocations: 0.6371 MB / 0.7387 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.4469, allocations: 45.7 kB / 0.7387 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.4471, allocations: 420.2 kB / 0.7391 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.4473, allocations: 264.2 kB / 0.7394 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.4475, allocations: 150.5 kB / 0.7395 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4477, allocations: 390.8 kB / 0.7399 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.4482, allocations: 253.9 kB / 0.7402 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.4488, allocations: 370.5 kB / 0.7405 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.4499, allocations: 0.6033 MB / 0.7411 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4499, allocations: 0 / 0.7411 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002093/0.452, allocations: 0.8291 MB / 0.7419 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.452, allocations: 8 kB / 0.7419 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.452, allocations: 7.984 kB / 0.7419 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/0.4526, allocations: 80.88 kB / 0.742 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.4532, allocations: 159.7 kB / 0.7422 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.455, allocations: 1.624 MB / 0.7437 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.4556, allocations: 107.2 kB / 0.7438 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.4557, allocations: 31.98 kB / 0.7439 GB, free: 4.77 MB / 0.5762 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.0003132/0.456, allocations: 269.8 kB / 0.7441 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.4562, allocations: 86.97 kB / 0.7442 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.4585, allocations: 1.105 MB / 0.7453 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4585, allocations: 8 kB / 0.7453 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.4585, allocations: 0 / 0.7453 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4585, allocations: 3.984 kB / 0.7453 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.4615, allocations: 2 MB / 0.7473 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4615, allocations: 8 kB / 0.7473 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.4621, allocations: 151.8 kB / 0.7474 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.4625, allocations: 76.72 kB / 0.7475 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.4625, allocations: 27.97 kB / 0.7475 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2034/0.6659, allocations: 1.65 MB / 0.7491 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.666, allocations: 1.812 kB / 0.7491 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.6683, allocations: 1.016 MB / 0.7501 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/0.6688, allocations: 275.9 kB / 0.7504 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.6689, allocations: 23.3 kB / 0.7504 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/0.6697, allocations: 67.28 kB / 0.7505 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.6698, allocations: 73.12 kB / 0.7505 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/0.6699, allocations: 39.84 kB / 0.7506 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006113/0.6705, allocations: 472 kB / 0.751 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.22e-07/0.6705, allocations: 0 / 0.751 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009114/0.6715, allocations: 340.3 kB / 0.7513 GB, free: 169.3 MB / 0.5762 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.00332/0.6748, allocations: 2.064 MB / 0.7534 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.6772, allocations: 1.031 MB / 0.7544 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6772, allocations: 0.75 kB / 0.7544 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.6782, allocations: 0.5358 MB / 0.7549 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.6794, allocations: 304.8 kB / 0.7552 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009508/0.6889, allocations: 6.662 MB / 0.7617 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.6895, allocations: 1.042 MB / 0.7627 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008294/0.6903, allocations: 272.9 kB / 0.763 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.6908, allocations: 403.5 kB / 0.7634 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.6908, allocations: 1.844 kB / 0.7634 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04105/0.7318, allocations: 22 MB / 0.7848 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.07, allocations: 11.03 kB / 0.7848 GB, free: 149.3 MB / 0.5762 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)