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.001242/0.001242, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001881/0.001881, allocations: 218.9 kB / 23.04 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8012/0.8012, allocations: 134 MB / 447.2 MB, free: 10.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="cs",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.001852/0.001852, allocations: 61.86 kB / 0.6193 GB, free: 7.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 85.9 MB / 0.7032 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006017/0.1742, allocations: 4.136 MB / 0.7072 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5559/0.7301, allocations: 154 MB / 0.8576 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007082/0.7308, allocations: 23.81 kB / 0.8576 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.7315, allocations: 166.5 kB / 0.8578 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.7333, allocations: 0.4902 MB / 0.8583 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.7353, allocations: 0.8239 MB / 0.8591 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.7368, allocations: 1.18 MB / 0.8602 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008153/0.7376, allocations: 433.9 kB / 0.8606 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.7384, allocations: 442.5 kB / 0.8611 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.739, allocations: 449.9 kB / 0.8615 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.7392, allocations: 104 kB / 0.8616 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009944/0.7402, allocations: 0.4933 MB / 0.8621 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.7405, allocations: 275.1 kB / 0.8623 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.7411, allocations: 0.4896 MB / 0.8628 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.7429, allocations: 1.508 MB / 0.8643 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.7429, allocations: 7.984 kB / 0.8643 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7429, allocations: 0 / 0.8643 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.7429, allocations: 0 / 0.8643 GB, free: 1.617 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.002116/0.745, allocations: 1.288 MB / 0.8655 GB, free: 300 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7451, allocations: 12.03 kB / 0.8656 GB, free: 288 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.902e-05/0.7451, allocations: 22.19 kB / 0.8656 GB, free: 264 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.7452, allocations: 123 kB / 0.8657 GB, free: 132 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.7466, allocations: 224.1 kB / 0.8659 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.7477, allocations: 0.6751 MB / 0.8666 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.7478, allocations: 58 kB / 0.8666 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.723e-05/0.7479, allocations: 75.98 kB / 0.8667 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.7492, allocations: 0.8403 MB / 0.8675 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.7493, allocations: 0 / 0.8675 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-05/0.7493, allocations: 32 kB / 0.8675 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.7494, allocations: 20 kB / 0.8676 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.751, allocations: 1.042 MB / 0.8686 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.7545, allocations: 2.27 MB / 0.8708 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.7557, allocations: 0.6562 MB / 0.8714 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.7562, allocations: 242.7 kB / 0.8717 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-05/0.7562, allocations: 32.67 kB / 0.8717 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007386/0.757, allocations: 423.4 kB / 0.8721 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 1.974e-06/0.757, allocations: 0 / 0.8721 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002881/0.7599, allocations: 0.9822 MB / 0.8731 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.76, allocations: 196.5 kB / 0.8733 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/0.7609, allocations: 0.6018 MB / 0.8738 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.7609, allocations: 45.64 kB / 0.8739 GB, free: 7.527 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.7613, allocations: 380.9 kB / 0.8742 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.7615, allocations: 241.9 kB / 0.8745 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.7617, allocations: 130.2 kB / 0.8746 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.7619, allocations: 378.8 kB / 0.875 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.7624, allocations: 209.2 kB / 0.8752 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/0.763, allocations: 313.7 kB / 0.8755 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.764, allocations: 0.5121 MB / 0.876 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.764, allocations: 0 / 0.876 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001842/0.7658, allocations: 0.7122 MB / 0.8767 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7659, allocations: 4 kB / 0.8767 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7659, allocations: 0 / 0.8767 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.7665, allocations: 80.86 kB / 0.8767 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.767, allocations: 135.8 kB / 0.8769 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.7692, allocations: 1.537 MB / 0.8784 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00065/0.7699, allocations: 67.59 kB / 0.8784 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/0.77, allocations: 23.98 kB / 0.8785 GB, free: 2.648 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.0005282/0.7705, allocations: 252.3 kB / 0.8787 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.7707, allocations: 79.59 kB / 0.8788 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.7731, allocations: 0.9533 MB / 0.8797 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.7731, allocations: 12 kB / 0.8797 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.7731, allocations: 0 / 0.8797 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.7731, allocations: 3.984 kB / 0.8797 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.7765, allocations: 1.781 MB / 0.8815 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.7765, allocations: 0 / 0.8815 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.777, allocations: 135.8 kB / 0.8816 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.7774, allocations: 76.72 kB / 0.8817 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.7775, allocations: 23.98 kB / 0.8817 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.7795, allocations: 1.558 MB / 0.8832 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.7795, allocations: 0 / 0.8832 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.7814, allocations: 0.8956 MB / 0.8841 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/0.7818, allocations: 183.1 kB / 0.8843 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.782, allocations: 23.88 kB / 0.8843 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.7825, allocations: 51.89 kB / 0.8843 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.7827, allocations: 64.88 kB / 0.8844 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.7828, allocations: 31.98 kB / 0.8844 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006212/0.7834, allocations: 439 kB / 0.8848 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7834, allocations: 4 kB / 0.8848 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008772/0.7843, allocations: 287.2 kB / 0.8851 GB, free: 11.61 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.003974/0.7882, allocations: 1.927 MB / 0.887 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.7898, allocations: 0.6808 MB / 0.8877 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7898, allocations: 0 / 0.8877 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.7907, allocations: 460.4 kB / 0.8881 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.792, allocations: 288.8 kB / 0.8884 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.803, allocations: 5.839 MB / 0.8941 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007889/0.8038, allocations: 1.003 MB / 0.8951 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008817/0.8047, allocations: 242.2 kB / 0.8953 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005887/0.8052, allocations: 359.2 kB / 0.8956 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.8052, allocations: 0 / 0.8956 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05678/0.862, allocations: 20.35 MB / 0.9155 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.28, allocations: 14.61 kB / 0.9155 GB, free: 12.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.09085006895475] Failed to read output from testmodel.py, exit status != 0: 14.558604213991202 14.574780586 13.828659561 Calling exit ...