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.004523/0.004523, allocations: 100 kB / 15.73 MB, free: 6.055 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.001306/0.001306, allocations: 190.3 kB / 16.67 MB, free: 5.969 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.409/1.409, 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/IDEAS 3.0.0/package.mo): time 0.8454/0.8454, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 68.02 kB / 0.5809 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1281, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006062/0.1342, allocations: 4.143 MB / 0.6632 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4329/0.5671, allocations: 150.5 MB / 0.8102 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005658/0.5677, allocations: 16.47 kB / 0.8102 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.5682, allocations: 162.7 kB / 0.8104 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.5695, allocations: 484.7 kB / 0.8108 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.5709, allocations: 0.7998 MB / 0.8116 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008753/0.5718, allocations: 1.203 MB / 0.8128 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007586/0.5726, allocations: 0.6717 MB / 0.8134 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.573, allocations: 457 kB / 0.8139 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.5735, allocations: 483.6 kB / 0.8143 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.5737, allocations: 113 kB / 0.8144 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00063/0.5743, allocations: 490.5 kB / 0.8149 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.5745, allocations: 294.9 kB / 0.8152 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.5749, allocations: 0.5243 MB / 0.8157 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.5764, allocations: 1.573 MB / 0.8172 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5764, allocations: 0 / 0.8172 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5764, allocations: 0 / 0.8172 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.5764, allocations: 0 / 0.8172 GB, free: 9.695 MB / 0.5919 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.002151/0.5786, allocations: 1.42 MB / 0.8186 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.5786, allocations: 15 kB / 0.8186 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.5788, allocations: 151.3 kB / 0.8188 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.5799, allocations: 209.1 kB / 0.819 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.581, allocations: 0.7542 MB / 0.8197 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.581, allocations: 65.34 kB / 0.8198 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.5812, allocations: 86.16 kB / 0.8199 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.5828, allocations: 0.9448 MB / 0.8208 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.5828, allocations: 0 / 0.8208 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.5829, allocations: 42.78 kB / 0.8208 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.5829, allocations: 20.12 kB / 0.8208 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.5848, allocations: 1.126 MB / 0.8219 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/0.5887, allocations: 2.455 MB / 0.8243 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.591, allocations: 0.8807 MB / 0.8252 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.5915, allocations: 275.8 kB / 0.8255 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.319e-05/0.5916, allocations: 35.36 kB / 0.8255 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007972/0.5924, allocations: 443 kB / 0.8259 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 1.913e-06/0.5924, allocations: 0 / 0.8259 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.002992/0.5954, allocations: 1.09 MB / 0.827 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.5956, allocations: 195.8 kB / 0.8272 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.5963, allocations: 0.5993 MB / 0.8278 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-05/0.5963, allocations: 40.3 kB / 0.8278 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.5967, allocations: 407.2 kB / 0.8282 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.5969, allocations: 257.3 kB / 0.8284 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.5971, allocations: 133.3 kB / 0.8286 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.5973, allocations: 384.3 kB / 0.8289 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.5978, allocations: 219.7 kB / 0.8291 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.5985, allocations: 324.8 kB / 0.8294 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.5996, allocations: 0.5424 MB / 0.83 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5996, allocations: 0.875 kB / 0.83 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001795/0.6014, allocations: 0.733 MB / 0.8307 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.6014, allocations: 7.688 kB / 0.8307 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.6014, allocations: 6.266 kB / 0.8307 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.602, allocations: 79.44 kB / 0.8308 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.6026, allocations: 141.7 kB / 0.8309 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.6049, allocations: 1.634 MB / 0.8325 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.6055, allocations: 88.81 kB / 0.8326 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.6056, allocations: 29.83 kB / 0.8326 GB, free: 14.99 MB / 0.6075 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0003399/0.6059, allocations: 259.6 kB / 0.8329 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.6061, allocations: 81.23 kB / 0.8329 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.6084, allocations: 0.9989 MB / 0.8339 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6084, allocations: 11.95 kB / 0.8339 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.6084, allocations: 0 / 0.8339 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6085, allocations: 10.02 kB / 0.8339 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.6117, allocations: 1.9 MB / 0.8358 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6117, allocations: 0 / 0.8358 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.6123, allocations: 144.2 kB / 0.8359 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.6128, allocations: 74.94 kB / 0.836 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.6129, allocations: 22.95 kB / 0.836 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.6149, allocations: 1.657 MB / 0.8376 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6149, allocations: 0 / 0.8376 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.6169, allocations: 0.9311 MB / 0.8386 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.6172, allocations: 269.5 kB / 0.8388 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.6173, allocations: 19.31 kB / 0.8388 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/0.6179, allocations: 54.97 kB / 0.8389 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6181, allocations: 58.42 kB / 0.8389 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.6181, allocations: 28.42 kB / 0.839 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000524/0.6187, allocations: 439.4 kB / 0.8394 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6187, allocations: 4 kB / 0.8394 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007031/0.6194, allocations: 310.3 kB / 0.8397 GB, free: 9.992 MB / 0.6075 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 (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.003999/0.6234, allocations: 1.962 MB / 0.8416 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.6249, allocations: 0.7399 MB / 0.8423 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6249, allocations: 3.031 kB / 0.8423 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008932/0.6258, allocations: 496.1 kB / 0.8428 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.6271, allocations: 295.8 kB / 0.8431 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.6383, allocations: 6.079 MB / 0.849 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.639, allocations: 1.015 MB / 0.85 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007566/0.6398, allocations: 265 kB / 0.8503 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005722/0.6404, allocations: 371.3 kB / 0.8506 GB, free: 64 kB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.6404, allocations: 0 / 0.8506 GB, free: 64 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05428/0.6947, allocations: 20.41 MB / 0.8705 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.43, allocations: 4 kB / 0.8705 GB, free: 11.93 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)