Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001823/0.001823, 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.002413/0.002413, allocations: 216.4 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.812 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.8033/0.8033, allocations: 134 MB / 446.4 MB, free: 9.949 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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.002014/0.002014, allocations: 71.16 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1621, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005979/0.1681, allocations: 3.739 MB / 0.706 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.48/0.6481, allocations: 132.5 MB / 0.8354 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007358/0.6488, allocations: 22.34 kB / 0.8355 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.6496, allocations: 179.6 kB / 0.8356 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002/0.6516, allocations: 495.7 kB / 0.8361 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.6537, allocations: 0.8128 MB / 0.8369 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.655, allocations: 1.179 MB / 0.8381 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006974/0.6557, allocations: 411.4 kB / 0.8384 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.6563, allocations: 450.4 kB / 0.8389 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.6567, allocations: 393.9 kB / 0.8393 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.6569, allocations: 104 kB / 0.8394 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009374/0.6578, allocations: 477.5 kB / 0.8398 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.6581, allocations: 275.1 kB / 0.8401 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.6585, allocations: 398 kB / 0.8404 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.6602, allocations: 1.52 MB / 0.8419 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6602, allocations: 4 kB / 0.8419 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6602, allocations: 0 / 0.8419 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.6603, allocations: 0 / 0.8419 GB, free: 4.363 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002091/0.6623, allocations: 1.288 MB / 0.8432 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.6624, allocations: 8.031 kB / 0.8432 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.6625, allocations: 127 kB / 0.8433 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.6639, allocations: 222 kB / 0.8435 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.665, allocations: 0.6798 MB / 0.8442 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.6651, allocations: 54 kB / 0.8442 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.6652, allocations: 76 kB / 0.8443 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.6667, allocations: 1.095 MB / 0.8454 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.6667, allocations: 0 / 0.8454 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.6668, allocations: 36 kB / 0.8454 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.6668, allocations: 25.06 kB / 0.8454 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.6684, allocations: 1.003 MB / 0.8464 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.6719, allocations: 2.051 MB / 0.8484 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.6731, allocations: 0.6614 MB / 0.8491 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.6736, allocations: 242.7 kB / 0.8493 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/0.6737, allocations: 24.62 kB / 0.8493 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007953/0.6745, allocations: 0.506 MB / 0.8498 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.114e-06/0.6745, allocations: 4 kB / 0.8498 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002788/0.6773, allocations: 0.9862 MB / 0.8508 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.6774, allocations: 189.1 kB / 0.851 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/0.6781, allocations: 0.6096 MB / 0.8516 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.6782, allocations: 45.7 kB / 0.8516 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.6785, allocations: 376.8 kB / 0.852 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.6787, allocations: 241.9 kB / 0.8522 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.6789, allocations: 134.2 kB / 0.8523 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.679, allocations: 377 kB / 0.8527 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.6795, allocations: 209.2 kB / 0.8529 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.68, allocations: 440.5 kB / 0.8533 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.681, allocations: 0.5199 MB / 0.8538 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.681, allocations: 0 / 0.8538 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00161/0.6826, allocations: 0.7083 MB / 0.8545 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6826, allocations: 4 kB / 0.8545 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6826, allocations: 0 / 0.8545 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/0.6832, allocations: 80.88 kB / 0.8546 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.6837, allocations: 139.7 kB / 0.8547 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.6858, allocations: 1.524 MB / 0.8562 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.6862, allocations: 71.69 kB / 0.8563 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.6863, allocations: 31.97 kB / 0.8563 GB, free: 5.086 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 (73): * Single equations (assignments): 72 * 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.0003451/0.6866, allocations: 243.7 kB / 0.8565 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.6868, allocations: 79.48 kB / 0.8566 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.6889, allocations: 0.9612 MB / 0.8576 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.6889, allocations: 8 kB / 0.8576 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.6889, allocations: 1.125 kB / 0.8576 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.6889, allocations: 3.984 kB / 0.8576 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.6918, allocations: 1.676 MB / 0.8592 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.6918, allocations: 0 / 0.8592 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.6923, allocations: 135.8 kB / 0.8593 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/0.6927, allocations: 72.78 kB / 0.8594 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.6928, allocations: 23.92 kB / 0.8594 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.6947, allocations: 1.547 MB / 0.8609 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6947, allocations: 0 / 0.8609 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.6965, allocations: 0.8917 MB / 0.8618 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.6968, allocations: 179.2 kB / 0.862 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.542e-05/0.6969, allocations: 20 kB / 0.862 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/0.6974, allocations: 59.83 kB / 0.8621 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.6976, allocations: 72.86 kB / 0.8621 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.6976, allocations: 31.98 kB / 0.8622 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005367/0.6982, allocations: 439 kB / 0.8626 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6982, allocations: 3.938 kB / 0.8626 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007416/0.6989, allocations: 283.1 kB / 0.8628 GB, free: 14.18 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 (81): * Single equations (assignments): 78 * 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.003808/0.7027, allocations: 1.968 MB / 0.8648 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.7041, allocations: 0.6846 MB / 0.8654 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7041, allocations: 4 kB / 0.8654 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008135/0.7049, allocations: 452.5 kB / 0.8659 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.706, allocations: 271.7 kB / 0.8661 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.7159, allocations: 5.843 MB / 0.8718 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.7164, allocations: 406 kB / 0.8722 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007322/0.7171, allocations: 250.1 kB / 0.8725 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/0.7176, allocations: 351.3 kB / 0.8728 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of SimCode: time 1.253e-06/0.7176, allocations: 0 / 0.8728 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05825/0.7758, allocations: 21.2 MB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.68, allocations: 7.859 kB / 0.8935 GB, free: 15.06 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.343498616013676] Failed to read output from testmodel.py, exit status != 0: 13.902024677023292 13.917448334 13.254226113 Calling exit ...