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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 106.3 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8808/0.8808, allocations: 134 MB / 442.8 MB, free: 11.3 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 69.78 kB / 0.6134 GB, free: 8.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1982, allocations: 85.86 MB / 0.6973 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00885/0.207, allocations: 4.198 MB / 0.7014 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5744/0.7814, allocations: 153.9 MB / 0.8516 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.7822, allocations: 29.59 kB / 0.8516 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.7828, allocations: 174.4 kB / 0.8518 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.7847, allocations: 492.4 kB / 0.8523 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.787, allocations: 0.8109 MB / 0.8531 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.7886, allocations: 1.219 MB / 0.8543 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000921/0.7895, allocations: 0.5121 MB / 0.8548 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007701/0.7903, allocations: 486.3 kB / 0.8552 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/0.791, allocations: 489.8 kB / 0.8557 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.7911, allocations: 116 kB / 0.8558 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.7924, allocations: 0.5126 MB / 0.8563 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.7927, allocations: 291.1 kB / 0.8566 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005977/0.7933, allocations: 0.544 MB / 0.8571 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.7958, allocations: 1.609 MB / 0.8587 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.7959, allocations: 0 / 0.8587 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7959, allocations: 4 kB / 0.8587 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.7959, allocations: 0 / 0.8587 GB, free: 2.992 MB / 0.6231 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.002454/0.7983, allocations: 1.445 MB / 0.8601 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7984, allocations: 9.672 kB / 0.8601 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.7986, allocations: 143.8 kB / 0.8602 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.8005, allocations: 279.9 kB / 0.8605 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.8018, allocations: 0.7625 MB / 0.8613 GB, free: 260 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/0.8018, allocations: 69.94 kB / 0.8613 GB, free: 188 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.802, allocations: 84 kB / 0.8614 GB, free: 104 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.8037, allocations: 0.9446 MB / 0.8623 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.8037, allocations: 0 / 0.8623 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.8038, allocations: 43.98 kB / 0.8624 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.8038, allocations: 20 kB / 0.8624 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.8059, allocations: 1.132 MB / 0.8635 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.8102, allocations: 2.469 MB / 0.8659 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.8127, allocations: 0.8322 MB / 0.8667 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.8132, allocations: 262.7 kB / 0.867 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.421e-05/0.8133, allocations: 28.67 kB / 0.867 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008853/0.8142, allocations: 442.8 kB / 0.8674 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.344e-06/0.8142, allocations: 0 / 0.8674 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003369/0.8176, allocations: 1.106 MB / 0.8685 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.8177, allocations: 192.6 kB / 0.8687 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009748/0.8187, allocations: 0.6176 MB / 0.8693 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.8188, allocations: 41.7 kB / 0.8693 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.8192, allocations: 424.8 kB / 0.8697 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.8194, allocations: 253.8 kB / 0.87 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.8196, allocations: 130.2 kB / 0.8701 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002384/0.8199, allocations: 390.7 kB / 0.8705 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.8204, allocations: 225.1 kB / 0.8707 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.821, allocations: 326.8 kB / 0.871 GB, free: 6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.8222, allocations: 0.5394 MB / 0.8715 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.8222, allocations: 0 / 0.8715 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002091/0.8243, allocations: 0.7318 MB / 0.8722 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.8243, allocations: 7.984 kB / 0.8722 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8243, allocations: 3.938 kB / 0.8722 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/0.8249, allocations: 80.88 kB / 0.8723 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.8256, allocations: 143.8 kB / 0.8725 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.828, allocations: 1.631 MB / 0.8741 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.8287, allocations: 87.58 kB / 0.8741 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.8287, allocations: 27.73 kB / 0.8742 GB, free: 2.59 MB / 0.6387 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.0004797/0.8292, allocations: 261.6 kB / 0.8744 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.8294, allocations: 79.48 kB / 0.8745 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.832, allocations: 1.007 MB / 0.8755 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.832, allocations: 8 kB / 0.8755 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8321, allocations: 4 kB / 0.8755 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.8321, allocations: 7.922 kB / 0.8755 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.8359, allocations: 1.905 MB / 0.8773 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.8359, allocations: 3.984 kB / 0.8774 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/0.8365, allocations: 143.8 kB / 0.8775 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/0.837, allocations: 72.78 kB / 0.8776 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.8371, allocations: 23.98 kB / 0.8776 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.8393, allocations: 1.662 MB / 0.8792 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8393, allocations: 3.984 kB / 0.8792 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.8415, allocations: 0.9243 MB / 0.8801 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.842, allocations: 272.2 kB / 0.8804 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.8421, allocations: 16 kB / 0.8804 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.8427, allocations: 58.03 kB / 0.8804 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.8429, allocations: 68.84 kB / 0.8805 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/0.8429, allocations: 31.98 kB / 0.8805 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007062/0.8436, allocations: 455 kB / 0.881 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8436, allocations: 4 kB / 0.881 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009414/0.8446, allocations: 299.1 kB / 0.8813 GB, free: 11.05 MB / 0.6544 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.00443/0.849, allocations: 1.97 MB / 0.8832 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.8508, allocations: 0.712 MB / 0.8839 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.8508, allocations: 4 kB / 0.8839 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.8519, allocations: 472.4 kB / 0.8843 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.8532, allocations: 287.7 kB / 0.8846 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.8658, allocations: 6.141 MB / 0.8906 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/0.8666, allocations: 1.028 MB / 0.8916 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009197/0.8675, allocations: 258.3 kB / 0.8919 GB, free: 260 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.8681, allocations: 379.4 kB / 0.8922 GB, free: 15.88 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/0.8681, allocations: 0 / 0.8922 GB, free: 15.88 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/0.9288, allocations: 20.78 MB / 0.9125 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.13, allocations: 0 / 0.9125 GB, free: 11.36 MB / 0.6856 GB " [Timeout remaining time 646] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.99332751899783] Failed to read output from testmodel.py, exit status != 0: 14.332032940001227 14.35645679 13.555926295999999 Calling exit ...