Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_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.007644/0.007644, allocations: 99.69 kB / 15.73 MB, free: 6.043 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.001968/0.001968, allocations: 192.3 kB / 16.67 MB, free: 5.953 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 294.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.181/1.181, allocations: 178.5 MB / 0.5074 GB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 96.27 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3684, allocations: 89.13 MB / 0.7813 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006357/0.3748, allocations: 5.117 MB / 0.7863 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.5465, allocations: 150.7 MB / 0.9335 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008276/0.5474, allocations: 19.94 kB / 0.9335 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.548, allocations: 198.1 kB / 0.9337 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.5499, allocations: 0.5623 MB / 0.9342 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.552, allocations: 0.8527 MB / 0.9351 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.5538, allocations: 1.44 MB / 0.9365 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009867/0.5548, allocations: 0.6563 MB / 0.9371 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007369/0.5555, allocations: 0.5138 MB / 0.9376 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007634/0.5563, allocations: 0.5367 MB / 0.9381 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.5565, allocations: 128 kB / 0.9382 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.5576, allocations: 499.5 kB / 0.9387 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.5579, allocations: 319 kB / 0.939 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.5585, allocations: 0.6025 MB / 0.9396 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.5608, allocations: 1.743 MB / 0.9413 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5608, allocations: 0 / 0.9413 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5608, allocations: 0 / 0.9413 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.5608, allocations: 0 / 0.9413 GB, free: 4.27 MB / 0.7012 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.002792/0.5636, allocations: 1.533 MB / 0.9428 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5637, allocations: 12.03 kB / 0.9428 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.5639, allocations: 152.1 kB / 0.943 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.5651, allocations: 227.9 kB / 0.9432 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5663, allocations: 0.7816 MB / 0.944 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.5664, allocations: 66 kB / 0.944 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.5665, allocations: 99.98 kB / 0.9441 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.5684, allocations: 1.003 MB / 0.9451 GB, free: 268 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.5685, allocations: 11.88 kB / 0.9451 GB, free: 256 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.5686, allocations: 48 kB / 0.9451 GB, free: 208 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.5686, allocations: 20 kB / 0.9452 GB, free: 188 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.5708, allocations: 1.171 MB / 0.9463 GB, free: 15.01 MB / 0.7169 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.004601/0.5754, allocations: 2.864 MB / 0.9491 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.5781, allocations: 0.9834 MB / 0.9501 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.5788, allocations: 314.7 kB / 0.9504 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.452e-05/0.5789, allocations: 28.61 kB / 0.9504 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.5799, allocations: 0.5047 MB / 0.9509 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.304e-06/0.5799, allocations: 4 kB / 0.9509 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.003619/0.5835, allocations: 1.237 MB / 0.9521 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.5837, allocations: 196.6 kB / 0.9523 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.5848, allocations: 0.6333 MB / 0.9529 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.393e-05/0.5849, allocations: 45.7 kB / 0.9529 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.5853, allocations: 437 kB / 0.9534 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.5856, allocations: 273.7 kB / 0.9536 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.5859, allocations: 146.6 kB / 0.9538 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002168/0.5861, allocations: 390.8 kB / 0.9541 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.5867, allocations: 257.8 kB / 0.9544 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007201/0.5874, allocations: 374.5 kB / 0.9547 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.5887, allocations: 0.5994 MB / 0.9553 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5887, allocations: 0 / 0.9553 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002136/0.5909, allocations: 0.8296 MB / 0.9561 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5909, allocations: 11.06 kB / 0.9561 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5909, allocations: 4 kB / 0.9562 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/0.5915, allocations: 76.78 kB / 0.9562 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.5922, allocations: 159.8 kB / 0.9564 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.5945, allocations: 1.627 MB / 0.958 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.5952, allocations: 103.5 kB / 0.9581 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/0.5953, allocations: 35.98 kB / 0.9581 GB, free: 2.457 MB / 0.7169 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.0004471/0.5958, allocations: 261.7 kB / 0.9583 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.5959, allocations: 91.44 kB / 0.9584 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/0.5986, allocations: 1.097 MB / 0.9595 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5986, allocations: 8 kB / 0.9595 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5986, allocations: 3.984 kB / 0.9595 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5987, allocations: 3.984 kB / 0.9595 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.6023, allocations: 2.009 MB / 0.9615 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6023, allocations: 0 / 0.9615 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.6029, allocations: 151.8 kB / 0.9616 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.6034, allocations: 76.8 kB / 0.9617 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.6035, allocations: 27.97 kB / 0.9617 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.6056, allocations: 1.658 MB / 0.9633 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6056, allocations: 0 / 0.9633 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.6079, allocations: 1.03 MB / 0.9644 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.6084, allocations: 280.1 kB / 0.9646 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6085, allocations: 23.95 kB / 0.9646 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/0.6092, allocations: 71.92 kB / 0.9647 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.6094, allocations: 64.91 kB / 0.9648 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.237e-05/0.6095, allocations: 43.91 kB / 0.9648 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006564/0.6101, allocations: 467 kB / 0.9653 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6101, allocations: 3.938 kB / 0.9653 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009445/0.6111, allocations: 343.1 kB / 0.9656 GB, free: 10.51 MB / 0.7325 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.00443/0.6155, allocations: 2.069 MB / 0.9676 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.6175, allocations: 0.8235 MB / 0.9684 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6175, allocations: 3.938 kB / 0.9684 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.6186, allocations: 0.5354 MB / 0.9689 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.6199, allocations: 304.1 kB / 0.9692 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.6313, allocations: 6.436 MB / 0.9755 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/0.6321, allocations: 1.047 MB / 0.9765 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000895/0.633, allocations: 270.8 kB / 0.9768 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.6336, allocations: 409.7 kB / 0.9772 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/0.6337, allocations: 0 / 0.9772 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3536/0.9873, allocations: 22.31 MB / 0.999 GB, free: 199.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.63, allocations: 6.094 kB / 0.999 GB, free: 199.3 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)