Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_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.0007817/0.0007815, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008634/0.0008635, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7367/0.7367, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003227, allocations: 12.56 kB / 0.5035 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4138, allocations: 81.57 MB / 0.5832 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00411/0.4179, allocations: 3.567 MB / 0.5866 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1416/0.5595, allocations: 136.7 MB / 0.7201 GB, free: 3.883 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/0.56, allocations: 11.94 kB / 0.7201 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.5605, allocations: 126.9 kB / 0.7203 GB, free: 3.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009848/0.5615, allocations: 385.1 kB / 0.7206 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.5629, allocations: 0.6174 MB / 0.7212 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.5639, allocations: 1.024 MB / 0.7222 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007327/0.5647, allocations: 0.5304 MB / 0.7227 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004477/0.5651, allocations: 298.5 kB / 0.723 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.5655, allocations: 326.2 kB / 0.7233 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/0.5656, allocations: 24 kB / 0.7234 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006699/0.5663, allocations: 331.6 kB / 0.7237 GB, free: 244 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.5665, allocations: 171.2 kB / 0.7238 GB, free: 72 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.5667, allocations: 181.1 kB / 0.724 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.5678, allocations: 1.13 MB / 0.7251 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5679, allocations: 0 / 0.7251 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.877e-06/0.5679, allocations: 4 kB / 0.7251 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.5679, allocations: 3.938 kB / 0.7251 GB, free: 14.75 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001988/0.5699, allocations: 1.174 MB / 0.7263 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5699, allocations: 8.031 kB / 0.7263 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.5701, allocations: 151.5 kB / 0.7264 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009602/0.5711, allocations: 218.4 kB / 0.7266 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009316/0.572, allocations: 0.6992 MB / 0.7273 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.5721, allocations: 66 kB / 0.7274 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.5722, allocations: 88 kB / 0.7275 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.5737, allocations: 0.9449 MB / 0.7284 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.5737, allocations: 0 / 0.7284 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.5738, allocations: 36 kB / 0.7284 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.5738, allocations: 27.95 kB / 0.7285 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.5755, allocations: 1.132 MB / 0.7296 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.5792, allocations: 2.499 MB / 0.732 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.5811, allocations: 0.8892 MB / 0.7329 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/0.5816, allocations: 290.2 kB / 0.7331 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.465e-05/0.5817, allocations: 29.03 kB / 0.7332 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007787/0.5825, allocations: 443.2 kB / 0.7336 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.404e-06/0.5825, allocations: 0 / 0.7336 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002612/0.5851, allocations: 1.1 MB / 0.7347 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.709e-05/0.5852, allocations: 192.5 kB / 0.7348 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/0.5859, allocations: 0.594 MB / 0.7354 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.586, allocations: 37.7 kB / 0.7355 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.5864, allocations: 404.1 kB / 0.7359 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.5866, allocations: 244.5 kB / 0.7361 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.5866, allocations: 12 kB / 0.7361 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5868, allocations: 382.8 kB / 0.7365 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.5873, allocations: 225.2 kB / 0.7367 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.5879, allocations: 326.8 kB / 0.737 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.5884, allocations: 267.1 kB / 0.7372 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5884, allocations: 3.953 kB / 0.7372 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001611/0.59, allocations: 0.7392 MB / 0.738 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5901, allocations: 4 kB / 0.738 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5901, allocations: 3.938 kB / 0.738 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.5906, allocations: 88.8 kB / 0.7381 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.5912, allocations: 139.8 kB / 0.7382 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.5933, allocations: 1.524 MB / 0.7397 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.5939, allocations: 83.41 kB / 0.7398 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.594, allocations: 35.92 kB / 0.7398 GB, free: 15.19 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004139/0.5944, allocations: 253.9 kB / 0.74 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.5945, allocations: 75.06 kB / 0.7401 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.5967, allocations: 1.013 MB / 0.7411 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.5968, allocations: 11.95 kB / 0.7411 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.5968, allocations: 4 kB / 0.7411 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.5968, allocations: 3.984 kB / 0.7411 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/0.6, allocations: 1.907 MB / 0.743 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.6, allocations: 3.938 kB / 0.743 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.6006, allocations: 147.8 kB / 0.7431 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/0.6011, allocations: 84.77 kB / 0.7432 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.6011, allocations: 23.98 kB / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.6029, allocations: 1.544 MB / 0.7447 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.603, allocations: 4.031 kB / 0.7447 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.6047, allocations: 0.9218 MB / 0.7456 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.6051, allocations: 271.8 kB / 0.7459 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/0.6052, allocations: 20 kB / 0.7459 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.6057, allocations: 71.89 kB / 0.746 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.6059, allocations: 52.92 kB / 0.746 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.6059, allocations: 39.97 kB / 0.7461 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005216/0.6065, allocations: 435 kB / 0.7465 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6065, allocations: 0 / 0.7465 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008241/0.6073, allocations: 299 kB / 0.7468 GB, free: 7.785 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003197/0.6105, allocations: 1.963 MB / 0.7487 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.612, allocations: 0.7396 MB / 0.7494 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.612, allocations: 0 / 0.7494 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008291/0.6129, allocations: 0.4885 MB / 0.7499 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.614, allocations: 254.7 kB / 0.7501 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009789/0.6238, allocations: 4.824 MB / 0.7548 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009518/0.6248, allocations: 1.011 MB / 0.7558 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001059/0.6259, allocations: 258.2 kB / 0.7561 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/0.6265, allocations: 375.3 kB / 0.7564 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.6266, allocations: 0 / 0.7564 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04278/0.6693, allocations: 20.32 MB / 0.7763 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.6696, allocations: 283.8 kB / 0.7766 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/2.952, allocations: 0 / 0.7766 GB, free: 9.734 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) Environment - environmentSimulation: