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.001319/0.001319, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001553/0.001553, allocations: 217.3 kB / 22.25 MB, free: 4.855 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.801 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.8403/0.8403, allocations: 134 MB / 446.4 MB, free: 9.941 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.001944/0.001944, allocations: 62.3 kB / 0.6185 GB, free: 6.934 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1711, allocations: 85.91 MB / 0.7024 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006342/0.1775, allocations: 3.831 MB / 0.7061 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5313/0.7088, allocations: 132.6 MB / 0.8356 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007336/0.7095, allocations: 22.22 kB / 0.8356 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.7102, allocations: 175.1 kB / 0.8357 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.7122, allocations: 499.6 kB / 0.8362 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.7146, allocations: 0.8336 MB / 0.837 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001574/0.7161, allocations: 1.215 MB / 0.8382 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009756/0.7171, allocations: 486.3 kB / 0.8387 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000929/0.718, allocations: 484.8 kB / 0.8392 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009181/0.7189, allocations: 439.7 kB / 0.8396 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003664/0.7193, allocations: 116 kB / 0.8397 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.7205, allocations: 493.5 kB / 0.8402 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.721, allocations: 303 kB / 0.8404 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.7216, allocations: 433.8 kB / 0.8409 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.724, allocations: 1.629 MB / 0.8424 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.724, allocations: 0 / 0.8424 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.724, allocations: 0 / 0.8424 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-05/0.724, allocations: 0 / 0.8424 GB, free: 3.902 MB / 0.6075 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.00297/0.727, allocations: 1.37 MB / 0.8438 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.727, allocations: 12.03 kB / 0.8438 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.7272, allocations: 143.8 kB / 0.8439 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.7291, allocations: 267.9 kB / 0.8442 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.7305, allocations: 0.702 MB / 0.8449 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.793e-05/0.7305, allocations: 66 kB / 0.8449 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.7307, allocations: 84 kB / 0.845 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.7326, allocations: 1.204 MB / 0.8462 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.7326, allocations: 4 kB / 0.8462 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/0.7327, allocations: 36 kB / 0.8462 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.7327, allocations: 24 kB / 0.8463 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.7347, allocations: 1.077 MB / 0.8473 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/0.739, allocations: 2.178 MB / 0.8494 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.7412, allocations: 0.76 MB / 0.8502 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.7417, allocations: 262.7 kB / 0.8504 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.952e-05/0.7418, allocations: 28.62 kB / 0.8505 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009139/0.7427, allocations: 0.5293 MB / 0.851 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.7427, allocations: 0 / 0.851 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002996/0.7457, allocations: 1.022 MB / 0.852 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.7458, allocations: 188.6 kB / 0.8521 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/0.7467, allocations: 0.6292 MB / 0.8528 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.7468, allocations: 41.69 kB / 0.8528 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.7471, allocations: 428.7 kB / 0.8532 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.7474, allocations: 249.8 kB / 0.8534 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.7476, allocations: 138.2 kB / 0.8536 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.7478, allocations: 386.7 kB / 0.8539 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.7483, allocations: 217.2 kB / 0.8542 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/0.7489, allocations: 459.8 kB / 0.8546 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.75, allocations: 0.5394 MB / 0.8551 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.75, allocations: 0 / 0.8551 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00184/0.7519, allocations: 0.7358 MB / 0.8558 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.7519, allocations: 10.12 kB / 0.8558 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.7519, allocations: 3.625 kB / 0.8559 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.7525, allocations: 84.86 kB / 0.8559 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.7531, allocations: 139.8 kB / 0.8561 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.7553, allocations: 1.525 MB / 0.8576 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/0.7559, allocations: 83.47 kB / 0.8576 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.7559, allocations: 27.98 kB / 0.8577 GB, free: 3.766 MB / 0.6231 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.0004122/0.7563, allocations: 261.7 kB / 0.8579 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.7565, allocations: 79.48 kB / 0.858 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.7588, allocations: 1.004 MB / 0.859 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.7589, allocations: 8 kB / 0.859 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.7589, allocations: 0 / 0.859 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.7589, allocations: 7.922 kB / 0.859 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.7623, allocations: 1.775 MB / 0.8607 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.7623, allocations: 4 kB / 0.8607 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.7629, allocations: 147.8 kB / 0.8609 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/0.7633, allocations: 68.78 kB / 0.8609 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.7634, allocations: 27.98 kB / 0.861 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.7653, allocations: 1.551 MB / 0.8625 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.7653, allocations: 0 / 0.8625 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.7673, allocations: 0.9282 MB / 0.8634 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.7678, allocations: 187.1 kB / 0.8636 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.7679, allocations: 16 kB / 0.8636 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/0.7685, allocations: 55.94 kB / 0.8636 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.7686, allocations: 64.62 kB / 0.8637 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.7687, allocations: 35.98 kB / 0.8637 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006253/0.7693, allocations: 459 kB / 0.8642 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7693, allocations: 0 / 0.8642 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008412/0.7701, allocations: 307 kB / 0.8644 GB, free: 12.61 MB / 0.6387 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.004169/0.7743, allocations: 1.997 MB / 0.8664 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.7759, allocations: 0.7237 MB / 0.8671 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7759, allocations: 0 / 0.8671 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/0.7768, allocations: 468.4 kB / 0.8676 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.778, allocations: 286.9 kB / 0.8678 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.7892, allocations: 6.15 MB / 0.8738 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.7897, allocations: 439.1 kB / 0.8743 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008214/0.7905, allocations: 262.2 kB / 0.8745 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/0.7911, allocations: 383.3 kB / 0.8749 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/0.7911, allocations: 0 / 0.8749 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06814/0.8592, allocations: 22.19 MB / 0.8965 GB, free: 12.03 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.78, allocations: 6.438 kB / 0.8965 GB, free: 12.03 MB / 0.67 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.55853225896135] Failed to read output from testmodel.py, exit status != 0: 14.00281447218731 14.019454138 13.292322152 Calling exit ...