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.001607/0.001607, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002034/0.002034, allocations: 214.7 kB / 22.25 MB, free: 5.078 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.992 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.8568/0.8568, allocations: 134 MB / 446.4 MB, free: 10.63 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.001985/0.001985, allocations: 73.95 kB / 0.6185 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.168, allocations: 85.9 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006748/0.1747, allocations: 4.142 MB / 0.7065 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5642/0.739, allocations: 154 MB / 0.8568 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007032/0.7397, allocations: 23.81 kB / 0.8569 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.7403, allocations: 165 kB / 0.857 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.7418, allocations: 497.4 kB / 0.8575 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.7437, allocations: 0.8226 MB / 0.8583 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.7452, allocations: 1.188 MB / 0.8595 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/0.7459, allocations: 425.9 kB / 0.8599 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/0.7466, allocations: 446.5 kB / 0.8603 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.7472, allocations: 445.9 kB / 0.8607 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.7473, allocations: 104 kB / 0.8608 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.7484, allocations: 0.4975 MB / 0.8613 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.7486, allocations: 275.1 kB / 0.8616 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/0.7491, allocations: 497.3 kB / 0.862 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.751, allocations: 1.516 MB / 0.8635 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7511, allocations: 0 / 0.8635 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7511, allocations: 0 / 0.8635 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.7511, allocations: 0 / 0.8635 GB, free: 1.555 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.002329/0.7534, allocations: 1.296 MB / 0.8648 GB, free: 228 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.7535, allocations: 8.031 kB / 0.8648 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.7536, allocations: 123 kB / 0.8649 GB, free: 88 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.755, allocations: 220.1 kB / 0.8651 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.7562, allocations: 0.6752 MB / 0.8658 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.7562, allocations: 58 kB / 0.8658 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.7563, allocations: 72 kB / 0.8659 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.7577, allocations: 0.8528 MB / 0.8667 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.7578, allocations: 0 / 0.8667 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.7578, allocations: 32 kB / 0.8668 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.7578, allocations: 16 kB / 0.8668 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.7595, allocations: 1.05 MB / 0.8678 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.763, allocations: 2.263 MB / 0.87 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.7643, allocations: 0.6562 MB / 0.8706 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.7647, allocations: 242.7 kB / 0.8709 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-05/0.7648, allocations: 32.69 kB / 0.8709 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007505/0.7655, allocations: 431.1 kB / 0.8713 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.083e-06/0.7655, allocations: 0 / 0.8713 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002891/0.7684, allocations: 0.9783 MB / 0.8723 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.7686, allocations: 196.5 kB / 0.8725 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00079/0.7693, allocations: 0.6056 MB / 0.8731 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.7694, allocations: 41.7 kB / 0.8731 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.7697, allocations: 380.9 kB / 0.8735 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.7699, allocations: 241.9 kB / 0.8737 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.7701, allocations: 134.2 kB / 0.8738 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.7703, allocations: 374.8 kB / 0.8742 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.7708, allocations: 209.2 kB / 0.8744 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.7713, allocations: 310.8 kB / 0.8747 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009547/0.7722, allocations: 0.5081 MB / 0.8752 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.7722, allocations: 7.984 kB / 0.8752 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001733/0.774, allocations: 0.7044 MB / 0.8759 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.774, allocations: 11.98 kB / 0.8759 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.774, allocations: 0 / 0.8759 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.7746, allocations: 76.88 kB / 0.8759 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.7752, allocations: 139.8 kB / 0.8761 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.7774, allocations: 1.526 MB / 0.8776 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.778, allocations: 67.62 kB / 0.8776 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.778, allocations: 31.97 kB / 0.8777 GB, free: 2.605 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.0004014/0.7784, allocations: 241.7 kB / 0.8779 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.7786, allocations: 79.47 kB / 0.878 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.7808, allocations: 0.964 MB / 0.8789 GB, free: 1.305 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.7808, allocations: 12 kB / 0.8789 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.7808, allocations: 0 / 0.8789 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.7808, allocations: 3.984 kB / 0.8789 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.7839, allocations: 1.777 MB / 0.8807 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.7839, allocations: 4 kB / 0.8807 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.7845, allocations: 135.8 kB / 0.8808 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004406/0.7849, allocations: 80.69 kB / 0.8809 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/0.785, allocations: 23.92 kB / 0.8809 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.7869, allocations: 1.551 MB / 0.8824 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.7869, allocations: 7.969 kB / 0.8824 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.7887, allocations: 0.8878 MB / 0.8833 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.7891, allocations: 183.1 kB / 0.8835 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.7893, allocations: 20 kB / 0.8835 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/0.7898, allocations: 54.05 kB / 0.8835 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.7899, allocations: 68.81 kB / 0.8836 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/0.79, allocations: 31.98 kB / 0.8836 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005946/0.7906, allocations: 447 kB / 0.8841 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7906, allocations: 0 / 0.8841 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000811/0.7914, allocations: 279.2 kB / 0.8843 GB, free: 11.57 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.00397/0.7954, allocations: 1.923 MB / 0.8862 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.7969, allocations: 0.6847 MB / 0.8869 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7969, allocations: 0 / 0.8869 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008439/0.7977, allocations: 460.4 kB / 0.8873 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.7989, allocations: 285.1 kB / 0.8876 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.8096, allocations: 5.851 MB / 0.8933 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.8103, allocations: 0.992 MB / 0.8943 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007934/0.8111, allocations: 258.1 kB / 0.8945 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.8116, allocations: 351.3 kB / 0.8948 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of SimCode: time 1.112e-06/0.8116, allocations: 0 / 0.8948 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.8882, allocations: 20.32 MB / 0.9147 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.59, allocations: 12.92 kB / 0.9147 GB, free: 12.69 MB / 0.6856 GB " [Timeout remaining time 645] (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: 18.421014362000278] Failed to read output from testmodel.py, exit status != 0: 14.819003914999485 14.84060886 14.085354658 Calling exit ...