Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_dev_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.004397/0.004397, allocations: 99.86 kB / 15.73 MB, free: 5.555 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.001276/0.001276, allocations: 196.8 kB / 16.67 MB, free: 5.48 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8663/0.8663, allocations: 135.6 MB / 426.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.61 kB / 0.5857 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1326, allocations: 81.03 MB / 0.6649 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006033/0.1387, allocations: 4.138 MB / 0.6689 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4383/0.577, allocations: 150.5 MB / 0.8159 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000553/0.5776, allocations: 19.16 kB / 0.8159 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.5781, allocations: 166 kB / 0.816 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.5794, allocations: 475.7 kB / 0.8165 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.581, allocations: 0.8013 MB / 0.8173 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009332/0.5819, allocations: 1.192 MB / 0.8184 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007723/0.5827, allocations: 0.6848 MB / 0.8191 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.5832, allocations: 461.4 kB / 0.8195 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.5837, allocations: 476.6 kB / 0.82 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.5838, allocations: 112.4 kB / 0.8201 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006777/0.5845, allocations: 488.8 kB / 0.8206 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.5847, allocations: 291.2 kB / 0.8209 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.5851, allocations: 0.521 MB / 0.8214 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.5868, allocations: 1.586 MB / 0.8229 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5868, allocations: 0 / 0.8229 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5868, allocations: 0 / 0.8229 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.5869, allocations: 0 / 0.8229 GB, free: 4.691 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.00223/0.5891, allocations: 1.419 MB / 0.8243 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.5891, allocations: 13.3 kB / 0.8243 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.5893, allocations: 138.4 kB / 0.8244 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.5904, allocations: 216.2 kB / 0.8246 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.5916, allocations: 0.7538 MB / 0.8254 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.5917, allocations: 65.25 kB / 0.8254 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.817e-05/0.5918, allocations: 85.69 kB / 0.8255 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.5934, allocations: 0.9411 MB / 0.8264 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5934, allocations: 0 / 0.8264 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.139e-05/0.5935, allocations: 39.81 kB / 0.8265 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.5935, allocations: 25.47 kB / 0.8265 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.5953, allocations: 1.129 MB / 0.8276 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.5992, allocations: 2.451 MB / 0.83 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.6014, allocations: 0.8862 MB / 0.8309 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.602, allocations: 281.6 kB / 0.8311 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.911e-05/0.6021, allocations: 33.7 kB / 0.8312 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008173/0.6029, allocations: 443.1 kB / 0.8316 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 4.448e-06/0.6029, allocations: 2.906 kB / 0.8316 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003064/0.606, allocations: 1.09 MB / 0.8327 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.6061, allocations: 188.5 kB / 0.8328 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.6069, allocations: 0.6031 MB / 0.8334 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.607, allocations: 40.42 kB / 0.8335 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.6073, allocations: 411.1 kB / 0.8339 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.6075, allocations: 251.6 kB / 0.8341 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.6078, allocations: 129.3 kB / 0.8342 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.608, allocations: 392.8 kB / 0.8346 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.6084, allocations: 218.3 kB / 0.8348 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.6091, allocations: 327.4 kB / 0.8351 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.6102, allocations: 0.5396 MB / 0.8356 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6102, allocations: 0 / 0.8356 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001843/0.612, allocations: 0.7369 MB / 0.8364 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6121, allocations: 5.656 kB / 0.8364 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6121, allocations: 0 / 0.8364 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.6127, allocations: 87.5 kB / 0.8365 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.6133, allocations: 145.2 kB / 0.8366 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.6155, allocations: 1.622 MB / 0.8382 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005884/0.6161, allocations: 91.91 kB / 0.8383 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.6162, allocations: 26.17 kB / 0.8383 GB, free: 9.715 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.0004194/0.6166, allocations: 255.6 kB / 0.8385 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.6168, allocations: 78.55 kB / 0.8386 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.6192, allocations: 0.9967 MB / 0.8396 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.6192, allocations: 9.906 kB / 0.8396 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.6192, allocations: 0 / 0.8396 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.6192, allocations: 7.922 kB / 0.8396 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.6226, allocations: 1.912 MB / 0.8415 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6226, allocations: 0 / 0.8415 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.6232, allocations: 147 kB / 0.8416 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004704/0.6237, allocations: 70.12 kB / 0.8417 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.6238, allocations: 23.98 kB / 0.8417 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.6259, allocations: 1.665 MB / 0.8433 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6259, allocations: 0 / 0.8433 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.6278, allocations: 0.9289 MB / 0.8442 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.6282, allocations: 257.1 kB / 0.8445 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6283, allocations: 25.75 kB / 0.8445 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.6289, allocations: 54.84 kB / 0.8446 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6291, allocations: 62.91 kB / 0.8446 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.6291, allocations: 32.17 kB / 0.8446 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005289/0.6297, allocations: 445.5 kB / 0.8451 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6297, allocations: 0 / 0.8451 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007643/0.6304, allocations: 300.3 kB / 0.8454 GB, free: 4.703 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.00419/0.6346, allocations: 1.969 MB / 0.8473 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.6363, allocations: 0.7365 MB / 0.848 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6364, allocations: 8.125 kB / 0.848 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6374, allocations: 496.2 kB / 0.8485 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.6386, allocations: 280.6 kB / 0.8487 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.6501, allocations: 6.083 MB / 0.8547 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.6508, allocations: 1.019 MB / 0.8557 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008136/0.6516, allocations: 262.2 kB / 0.8559 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/0.6522, allocations: 379.3 kB / 0.8563 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.6522, allocations: 4 kB / 0.8563 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05535/0.7076, allocations: 20.38 MB / 0.8762 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.47, allocations: 24 kB / 0.8762 GB, free: 5.469 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)