Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.001374/0.001374, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001531/0.001531, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.493/1.493, 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.9014/0.9014, allocations: 134 MB / 446.4 MB, free: 10.25 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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.002195/0.002195, allocations: 68.92 kB / 0.6185 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1882, allocations: 85.9 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00269/0.1909, allocations: 1.308 MB / 0.7037 GB, free: 100 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5453/0.7362, allocations: 135.2 MB / 0.8357 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.7363, allocations: 0 / 0.8357 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.7363, allocations: 3.938 kB / 0.8358 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.97e-05/0.7363, allocations: 7.328 kB / 0.8358 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.7368, allocations: 65.11 kB / 0.8358 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.034e-05/0.7369, allocations: 26.11 kB / 0.8358 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.7369, allocations: 6.688 kB / 0.8359 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.737, allocations: 4.375 kB / 0.8359 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.737, allocations: 13.7 kB / 0.8359 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.7371, allocations: 0 / 0.8359 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.7372, allocations: 14.81 kB / 0.8359 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.7372, allocations: 14.94 kB / 0.8359 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.7372, allocations: 6.781 kB / 0.8359 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.7374, allocations: 24.28 kB / 0.8359 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7374, allocations: 0 / 0.8359 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7374, allocations: 4 kB / 0.8359 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.7374, allocations: 0 / 0.8359 GB, free: 11.09 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005516/0.7379, allocations: 259.1 kB / 0.8362 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.738, allocations: 10.38 kB / 0.8362 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.738, allocations: 32.25 kB / 0.8362 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.7381, allocations: 3.031 kB / 0.8362 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.7382, allocations: 117.3 kB / 0.8363 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.7384, allocations: 53.88 kB / 0.8364 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.7384, allocations: 7.062 kB / 0.8364 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.7386, allocations: 43.38 kB / 0.8364 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7386, allocations: 0 / 0.8364 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.7386, allocations: 0 / 0.8364 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.7386, allocations: 3.984 kB / 0.8364 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.7387, allocations: 11.52 kB / 0.8364 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.739, allocations: 129.7 kB / 0.8366 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.7391, allocations: 30.52 kB / 0.8366 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.7392, allocations: 18 kB / 0.8366 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.7393, allocations: 11.92 kB / 0.8366 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.7394, allocations: 36.62 kB / 0.8367 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.7394, allocations: 3.938 kB / 0.8367 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002991/0.7397, allocations: 56.36 kB / 0.8367 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.7397, allocations: 59.34 kB / 0.8368 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.7398, allocations: 99.52 kB / 0.8369 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.7398, allocations: 25.7 kB / 0.8369 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.7399, allocations: 80.14 kB / 0.837 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.7399, allocations: 7.906 kB / 0.837 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.74, allocations: 22.08 kB / 0.837 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.7401, allocations: 310.8 kB / 0.8373 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.7402, allocations: 13.72 kB / 0.8373 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.7403, allocations: 9.047 kB / 0.8373 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.7404, allocations: 22.91 kB / 0.8373 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7404, allocations: 0 / 0.8373 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001838/0.7406, allocations: 46.06 kB / 0.8374 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7406, allocations: 19.12 kB / 0.8374 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7406, allocations: 2.75 kB / 0.8374 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7406, allocations: 0 / 0.8374 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.7407, allocations: 5 kB / 0.8374 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.7407, allocations: 4 kB / 0.8374 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.7407, allocations: 10.02 kB / 0.8374 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.7407, allocations: 0 / 0.8374 GB, free: 9.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.7409, allocations: 109 kB / 0.8375 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.7409, allocations: 3.938 kB / 0.8375 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.7411, allocations: 63.22 kB / 0.8376 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7411, allocations: 0 / 0.8376 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.7411, allocations: 4.562 kB / 0.8376 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7411, allocations: 0 / 0.8376 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.7413, allocations: 129.5 kB / 0.8377 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7413, allocations: 7.75 kB / 0.8377 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.7413, allocations: 5.094 kB / 0.8377 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.7413, allocations: 3.938 kB / 0.8377 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.7413, allocations: 0 / 0.8377 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7413, allocations: 0 / 0.8377 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7413, allocations: 2.781 kB / 0.8377 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.7416, allocations: 84.2 kB / 0.8378 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.7416, allocations: 7.938 kB / 0.8378 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.7417, allocations: 5.75 kB / 0.8378 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.7417, allocations: 3.984 kB / 0.8378 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.7417, allocations: 3.312 kB / 0.8378 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.7417, allocations: 0 / 0.8378 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.987e-05/0.7418, allocations: 77.97 kB / 0.8379 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7418, allocations: 0 / 0.8379 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003514/0.7422, allocations: 13.97 kB / 0.8379 GB, free: 8.977 MB / 0.6075 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000692/0.7428, allocations: 0.6237 MB / 0.8385 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.743, allocations: 20.55 kB / 0.8386 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.743, allocations: 0 / 0.8386 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.7431, allocations: 16.83 kB / 0.8386 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.7435, allocations: 12.14 kB / 0.8386 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.7441, allocations: 148.1 kB / 0.8387 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.7445, allocations: 0.6795 MB / 0.8394 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.071e-05/0.7445, allocations: 6.812 kB / 0.8394 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.7446, allocations: 13.47 kB / 0.8394 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.7446, allocations: 0 / 0.8394 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.7724, allocations: 1.478 MB / 0.8409 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.69, allocations: 6.844 kB / 0.8409 GB, free: 6.652 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.351586337201297] Failed to read output from testmodel.py, exit status != 0: 11.790118966950104 11.812084453 11.070482893 Calling exit ...