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.001638/0.001638, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.47/2.47, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.738/1.738, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 62.69 kB / 0.5055 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2478, allocations: 80.92 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.01488/0.2627, allocations: 4.142 MB / 0.5885 GB, free: 280 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.614/0.8767, allocations: 150.5 MB / 0.7355 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.8777, allocations: 20.41 kB / 0.7355 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.8785, allocations: 172 kB / 0.7357 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.881, allocations: 474.8 kB / 0.7361 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.884, allocations: 0.785 MB / 0.7369 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.8861, allocations: 1.192 MB / 0.738 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.888, allocations: 0.6818 MB / 0.7387 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.889, allocations: 452.2 kB / 0.7391 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008902/0.8899, allocations: 486.6 kB / 0.7396 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.8902, allocations: 113.8 kB / 0.7397 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.8915, allocations: 460.1 kB / 0.7401 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.8919, allocations: 289.9 kB / 0.7404 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.8937, allocations: 0.5296 MB / 0.7409 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.8966, allocations: 1.525 MB / 0.7424 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8966, allocations: 0 / 0.7424 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8966, allocations: 0 / 0.7424 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.528e-05/0.8967, allocations: 1.375 kB / 0.7424 GB, free: 8.242 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.003461/0.9002, allocations: 1.383 MB / 0.7438 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.9002, allocations: 9.625 kB / 0.7438 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/0.9005, allocations: 150 kB / 0.7439 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/0.9026, allocations: 205.2 kB / 0.7441 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.9045, allocations: 0.7231 MB / 0.7448 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/0.9046, allocations: 69.81 kB / 0.7449 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.9049, allocations: 85.47 kB / 0.745 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.9074, allocations: 0.9491 MB / 0.7459 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.9075, allocations: 0 / 0.7459 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.9077, allocations: 38.81 kB / 0.7459 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.9077, allocations: 23.34 kB / 0.746 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.9107, allocations: 1.122 MB / 0.7471 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007339/0.9181, allocations: 2.484 MB / 0.7495 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/0.9223, allocations: 0.8795 MB / 0.7503 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009674/0.9233, allocations: 282.7 kB / 0.7506 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.9234, allocations: 28.69 kB / 0.7506 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/0.9249, allocations: 443.1 kB / 0.7511 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 4.528e-06/0.9249, allocations: 0 / 0.7511 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.00584/0.9307, allocations: 1.092 MB / 0.7521 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.9309, allocations: 192.5 kB / 0.7523 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.9325, allocations: 0.6017 MB / 0.7529 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.9326, allocations: 41.7 kB / 0.7529 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000565/0.9332, allocations: 404.2 kB / 0.7533 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004429/0.9337, allocations: 244.5 kB / 0.7536 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004233/0.9341, allocations: 138.2 kB / 0.7537 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002501/0.9344, allocations: 378.7 kB / 0.7541 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/0.9354, allocations: 221.2 kB / 0.7543 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.9366, allocations: 326.8 kB / 0.7546 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.9388, allocations: 0.5394 MB / 0.7551 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.9388, allocations: 0 / 0.7551 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003926/0.9427, allocations: 0.7314 MB / 0.7558 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.9428, allocations: 9.719 kB / 0.7558 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.9429, allocations: 2.062 kB / 0.7558 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.9439, allocations: 82.69 kB / 0.7559 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.9452, allocations: 139.8 kB / 0.756 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.949, allocations: 1.634 MB / 0.7576 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.9503, allocations: 83.06 kB / 0.7577 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.9504, allocations: 23.98 kB / 0.7577 GB, free: 10.71 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 (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.0008212/0.9513, allocations: 261.6 kB / 0.758 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.9517, allocations: 79 kB / 0.7581 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.9564, allocations: 0.9958 MB / 0.759 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.9564, allocations: 8 kB / 0.759 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.9565, allocations: 5.125 kB / 0.7591 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.9565, allocations: 7.922 kB / 0.7591 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006626/0.9631, allocations: 1.896 MB / 0.7609 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.443e-06/0.9632, allocations: 4 kB / 0.7609 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.9644, allocations: 143.8 kB / 0.7611 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008276/0.9653, allocations: 76.78 kB / 0.7611 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.632e-05/0.9654, allocations: 21.2 kB / 0.7611 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003618/0.9691, allocations: 1.671 MB / 0.7628 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.9691, allocations: 4.031 kB / 0.7628 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003873/0.973, allocations: 0.914 MB / 0.7637 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/0.9737, allocations: 263.8 kB / 0.7639 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.9741, allocations: 16 kB / 0.7639 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.9754, allocations: 58.28 kB / 0.764 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.9756, allocations: 56.92 kB / 0.764 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.9758, allocations: 35.97 kB / 0.7641 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0011/0.9769, allocations: 439 kB / 0.7645 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9769, allocations: 0 / 0.7645 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001578/0.9785, allocations: 291.2 kB / 0.7648 GB, free: 3.25 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 (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.006476/0.985, allocations: 1.971 MB / 0.7667 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004351/0.9894, allocations: 0.9223 MB / 0.7676 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.9894, allocations: 0 / 0.7676 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.9912, allocations: 0.4967 MB / 0.7681 GB, free: 24 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.9939, allocations: 283.1 kB / 0.7684 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/1.015, allocations: 6.254 MB / 0.7745 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.016, allocations: 1.008 MB / 0.7755 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001763/1.018, allocations: 266.2 kB / 0.7757 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009235/1.019, allocations: 375.3 kB / 0.7761 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of SimCode: time 9.21e-07/1.019, allocations: 0 / 0.7761 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2061/1.225, allocations: 20.17 MB / 0.7958 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.63/27.86, allocations: 18.08 kB / 0.7958 GB, free: 3.922 MB / 0.6075 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)