Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.001334/0.001334, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.00152/0.00152, allocations: 215 kB / 20.13 MB, free: 2.949 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9412/0.9412, allocations: 133.9 MB / 443.5 MB, free: 14.14 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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.002047/0.002047, allocations: 64.36 kB / 0.6141 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1764, allocations: 85.87 MB / 0.6979 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003044/0.1794, allocations: 1.661 MB / 0.6996 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1907/0.3702, allocations: 153 MB / 0.849 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.3703, allocations: 4 kB / 0.849 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.3705, allocations: 23.8 kB / 0.849 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.3708, allocations: 51.64 kB / 0.849 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.3714, allocations: 183.3 kB / 0.8492 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.3716, allocations: 159.5 kB / 0.8494 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3718, allocations: 19.98 kB / 0.8494 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.3733, allocations: 195.1 kB / 0.8496 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3734, allocations: 63.73 kB / 0.8496 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.3735, allocations: 12 kB / 0.8496 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.3738, allocations: 175.7 kB / 0.8498 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.3739, allocations: 23.91 kB / 0.8498 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.374, allocations: 59.66 kB / 0.8499 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.3744, allocations: 198.8 kB / 0.8501 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3744, allocations: 0 / 0.8501 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3744, allocations: 0 / 0.8501 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.3744, allocations: 0 / 0.8501 GB, free: 2.711 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000946/0.3754, allocations: 470.7 kB / 0.8505 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3754, allocations: 9.703 kB / 0.8505 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.414e-05/0.3755, allocations: 4.188 kB / 0.8505 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3755, allocations: 46.67 kB / 0.8506 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/0.3764, allocations: 72.38 kB / 0.8507 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.3767, allocations: 210.9 kB / 0.8509 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3767, allocations: 8 kB / 0.8509 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.3767, allocations: 4 kB / 0.8509 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.3772, allocations: 181.8 kB / 0.851 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3773, allocations: 4 kB / 0.851 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3773, allocations: 0 / 0.851 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3773, allocations: 4 kB / 0.8511 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.3778, allocations: 147.7 kB / 0.8512 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.3791, allocations: 0.8208 MB / 0.852 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.3796, allocations: 122.5 kB / 0.8521 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.3799, allocations: 76.8 kB / 0.8522 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.3799, allocations: 7.922 kB / 0.8522 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.3799, allocations: 38.56 kB / 0.8522 GB, free: 304 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 3.256e-06/0.3799, allocations: 3.984 kB / 0.8522 GB, free: 300 kB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.002081/0.382, allocations: 443.3 kB / 0.8527 GB, free: 15.83 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.3821, allocations: 71.27 kB / 0.8527 GB, free: 15.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3822, allocations: 148.5 kB / 0.8529 GB, free: 15.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.3823, allocations: 25.7 kB / 0.8529 GB, free: 15.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.3823, allocations: 112.2 kB / 0.853 GB, free: 15.45 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.3824, allocations: 31.69 kB / 0.853 GB, free: 15.42 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.3825, allocations: 37.69 kB / 0.8531 GB, free: 15.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3826, allocations: 318.8 kB / 0.8534 GB, free: 15.06 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.3829, allocations: 71.94 kB / 0.8534 GB, free: 14.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.3832, allocations: 103.9 kB / 0.8535 GB, free: 14.88 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.3837, allocations: 176.1 kB / 0.8537 GB, free: 14.69 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3838, allocations: 0 / 0.8537 GB, free: 14.69 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001164/0.3849, allocations: 286.4 kB / 0.854 GB, free: 14.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3849, allocations: 8 kB / 0.854 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3849, allocations: 0 / 0.854 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006542/0.3856, allocations: 80.89 kB / 0.8541 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.3858, allocations: 39.89 kB / 0.8541 GB, free: 14.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.3883, allocations: 1.664 MB / 0.8557 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.3886, allocations: 27.84 kB / 0.8557 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3886, allocations: 8.062 kB / 0.8558 GB, free: 12.43 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0001393/0.3887, allocations: 122.4 kB / 0.8559 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3888, allocations: 16.08 kB / 0.8559 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.39, allocations: 310.9 kB / 0.8562 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.39, allocations: 4 kB / 0.8562 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.39, allocations: 0 / 0.8562 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.39, allocations: 7.922 kB / 0.8562 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.3903, allocations: 233.5 kB / 0.8564 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3903, allocations: 0 / 0.8564 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.3905, allocations: 31.95 kB / 0.8564 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/0.391, allocations: 76.72 kB / 0.8565 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.391, allocations: 11.92 kB / 0.8565 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.3931, allocations: 1.681 MB / 0.8582 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3931, allocations: 0 / 0.8582 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3943, allocations: 384.1 kB / 0.8585 GB, free: 9.34 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/0.3943, allocations: 92.95 kB / 0.8586 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3944, allocations: 7.938 kB / 0.8586 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.3946, allocations: 15.97 kB / 0.8587 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.438e-05/0.3947, allocations: 15.98 kB / 0.8587 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3947, allocations: 0 / 0.8587 GB, free: 9.191 MB / 0.67 GB Notification: Performance of sorting global known variables: time 9.158e-05/0.3948, allocations: 109.3 kB / 0.8588 GB, free: 9.086 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.3948, allocations: 3.938 kB / 0.8588 GB, free: 9.082 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003822/0.3952, allocations: 40 kB / 0.8588 GB, free: 9.043 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/0.3968, allocations: 0.922 MB / 0.8597 GB, free: 8.094 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.3978, allocations: 302.5 kB / 0.86 GB, free: 7.785 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3978, allocations: 0 / 0.86 GB, free: 7.785 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.3984, allocations: 222.8 kB / 0.8602 GB, free: 7.555 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3987, allocations: 29.94 kB / 0.8602 GB, free: 7.527 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.4031, allocations: 2.059 MB / 0.8623 GB, free: 5.359 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.4035, allocations: 0.7085 MB / 0.8629 GB, free: 4.625 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.4036, allocations: 29.09 kB / 0.863 GB, free: 4.598 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.4037, allocations: 31.42 kB / 0.863 GB, free: 4.566 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.4037, allocations: 0 / 0.863 GB, free: 4.566 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4052/0.8089, allocations: 4.788 MB / 0.8677 GB, free: 170.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.27, allocations: 6.422 kB / 0.8677 GB, free: 170.5 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.307742103992496] Failed to read output from testmodel.py, exit status != 0: 13.762885521980934 13.45358336 13.074475688 Calling exit ...