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.001312/0.001312, allocations: 110 kB / 16.46 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.00139/0.00139, 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.856/0.856, allocations: 133.9 MB / 442.8 MB, free: 11.29 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.001978/0.001978, allocations: 73.78 kB / 0.6134 GB, free: 8.746 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1813, allocations: 85.85 MB / 0.6973 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007091/0.1884, allocations: 4.106 MB / 0.7013 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.564/0.7524, allocations: 153.8 MB / 0.8515 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.7535, allocations: 23.81 kB / 0.8515 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.7542, allocations: 170.5 kB / 0.8517 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.7562, allocations: 494.1 kB / 0.8521 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.7583, allocations: 0.7977 MB / 0.8529 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.7599, allocations: 1.176 MB / 0.8541 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007934/0.7607, allocations: 441.2 kB / 0.8545 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006689/0.7613, allocations: 446.5 kB / 0.8549 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.7619, allocations: 442 kB / 0.8553 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.762, allocations: 104 kB / 0.8554 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.7631, allocations: 0.5009 MB / 0.8559 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.7634, allocations: 267.1 kB / 0.8562 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.7638, allocations: 0.4896 MB / 0.8567 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.7659, allocations: 1.504 MB / 0.8581 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7659, allocations: 4 kB / 0.8581 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7659, allocations: 4 kB / 0.8581 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.7659, allocations: 0 / 0.8581 GB, free: 3.566 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002393/0.7683, allocations: 1.37 MB / 0.8595 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.7684, allocations: 13.11 kB / 0.8595 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.7685, allocations: 123 kB / 0.8596 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.77, allocations: 224.1 kB / 0.8598 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.7712, allocations: 0.7313 MB / 0.8605 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.7713, allocations: 58 kB / 0.8606 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.7714, allocations: 79.75 kB / 0.8607 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.7729, allocations: 0.8403 MB / 0.8615 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.773, allocations: 8.031 kB / 0.8615 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.773, allocations: 32 kB / 0.8615 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.7731, allocations: 24 kB / 0.8615 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.7749, allocations: 1.038 MB / 0.8626 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.7787, allocations: 2.324 MB / 0.8648 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.7801, allocations: 0.7312 MB / 0.8655 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.7806, allocations: 242.4 kB / 0.8658 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.554e-05/0.7807, allocations: 40.56 kB / 0.8658 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007828/0.7815, allocations: 409.9 kB / 0.8662 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.504e-06/0.7815, allocations: 4 kB / 0.8662 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.003139/0.7847, allocations: 1.055 MB / 0.8672 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.7848, allocations: 196.5 kB / 0.8674 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/0.7856, allocations: 0.6056 MB / 0.868 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.7857, allocations: 41.7 kB / 0.8681 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.786, allocations: 380.9 kB / 0.8684 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.7862, allocations: 233.9 kB / 0.8686 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.7865, allocations: 130.2 kB / 0.8688 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.7867, allocations: 382.8 kB / 0.8691 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.7871, allocations: 220.5 kB / 0.8693 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005727/0.7877, allocations: 306.8 kB / 0.8696 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.7887, allocations: 0.5078 MB / 0.8701 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7887, allocations: 0 / 0.8701 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001872/0.7906, allocations: 0.7045 MB / 0.8708 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.7906, allocations: 4 kB / 0.8708 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.7906, allocations: 7.938 kB / 0.8708 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/0.7913, allocations: 84.86 kB / 0.8709 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.7918, allocations: 123.9 kB / 0.871 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.7942, allocations: 1.64 MB / 0.8726 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/0.7948, allocations: 75.59 kB / 0.8727 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.7949, allocations: 31.97 kB / 0.8727 GB, free: 4.074 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 (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.0004712/0.7953, allocations: 245.9 kB / 0.873 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.7955, allocations: 79.52 kB / 0.873 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.7979, allocations: 0.9572 MB / 0.874 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.7979, allocations: 8 kB / 0.874 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.7979, allocations: 3.938 kB / 0.874 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7979, allocations: 3.984 kB / 0.874 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.8013, allocations: 1.809 MB / 0.8758 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.8013, allocations: 7.984 kB / 0.8758 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.8018, allocations: 131.8 kB / 0.8759 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004847/0.8023, allocations: 72.78 kB / 0.876 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.8024, allocations: 27.92 kB / 0.876 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.8046, allocations: 1.67 MB / 0.8776 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8046, allocations: 0 / 0.8776 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.8066, allocations: 0.8878 MB / 0.8785 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.807, allocations: 260.3 kB / 0.8787 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.8071, allocations: 15.94 kB / 0.8788 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.8076, allocations: 59.88 kB / 0.8788 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.8078, allocations: 56.92 kB / 0.8789 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.8078, allocations: 27.98 kB / 0.8789 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006209/0.8084, allocations: 447 kB / 0.8793 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8084, allocations: 0 / 0.8793 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008739/0.8093, allocations: 279.2 kB / 0.8796 GB, free: 12.8 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 (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.004134/0.8134, allocations: 1.939 MB / 0.8815 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.8151, allocations: 0.681 MB / 0.8821 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8151, allocations: 4 kB / 0.8821 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008908/0.816, allocations: 456.1 kB / 0.8826 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.8172, allocations: 284 kB / 0.8829 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.8282, allocations: 5.843 MB / 0.8886 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007344/0.829, allocations: 0.9991 MB / 0.8895 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008081/0.8298, allocations: 250.1 kB / 0.8898 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.8303, allocations: 351.3 kB / 0.8901 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of SimCode: time 1.022e-06/0.8303, allocations: 0 / 0.8901 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05743/0.8878, allocations: 19.83 MB / 0.9095 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.87, allocations: 14.94 kB / 0.9095 GB, free: 14.52 MB / 0.6856 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.83516881900141] Failed to read output from testmodel.py, exit status != 0: 14.081200861008256 14.096539155 13.327601579 Calling exit ...