Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.001289/0.001289, 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.001887/0.001887, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.489/1.489, allocations: 230.6 MB / 256.8 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.9171/0.9171, allocations: 134 MB / 447.2 MB, free: 10.23 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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",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.001912/0.001912, allocations: 66.64 kB / 0.6193 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1822, allocations: 85.91 MB / 0.7032 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003023/0.1852, allocations: 1.521 MB / 0.7047 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5502/0.7355, allocations: 135.3 MB / 0.8368 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.7355, allocations: 2.562 kB / 0.8368 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.471e-05/0.7356, allocations: 3.938 kB / 0.8368 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.763e-05/0.7357, allocations: 7.875 kB / 0.8368 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.7362, allocations: 68.66 kB / 0.8368 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.7363, allocations: 70.44 kB / 0.8369 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.7364, allocations: 6.906 kB / 0.8369 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.7365, allocations: 23.7 kB / 0.8369 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.7366, allocations: 23.66 kB / 0.837 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.7366, allocations: 4.938 kB / 0.837 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.7367, allocations: 20.38 kB / 0.837 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.7367, allocations: 11.92 kB / 0.837 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.7368, allocations: 25.23 kB / 0.837 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.737, allocations: 61.86 kB / 0.8371 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.737, allocations: 0 / 0.8371 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.737, allocations: 4 kB / 0.8371 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.737, allocations: 1.125 kB / 0.8371 GB, free: 10.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000665/0.7377, allocations: 294.6 kB / 0.8374 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.7377, allocations: 10.25 kB / 0.8374 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.606e-05/0.7377, allocations: 0.9375 kB / 0.8374 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.7378, allocations: 33.53 kB / 0.8374 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.7378, allocations: 7.016 kB / 0.8374 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.738, allocations: 121 kB / 0.8375 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.738, allocations: 6.5 kB / 0.8375 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.738, allocations: 3.469 kB / 0.8375 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.7383, allocations: 79.55 kB / 0.8376 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.7383, allocations: 3.625 kB / 0.8376 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7383, allocations: 2.75 kB / 0.8376 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7383, allocations: 0 / 0.8376 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.7386, allocations: 77.53 kB / 0.8377 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.739, allocations: 255 kB / 0.8379 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.7393, allocations: 61.22 kB / 0.838 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.7394, allocations: 38.77 kB / 0.838 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.7396, allocations: 11.39 kB / 0.838 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.7396, allocations: 33.62 kB / 0.8381 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.7396, allocations: 0 / 0.8381 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005765/0.7402, allocations: 135.8 kB / 0.8382 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.7402, allocations: 51.41 kB / 0.8383 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.7403, allocations: 118.6 kB / 0.8384 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.7404, allocations: 25.7 kB / 0.8384 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.7404, allocations: 90.28 kB / 0.8385 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.7405, allocations: 18.75 kB / 0.8385 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.7405, allocations: 15.53 kB / 0.8385 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7407, allocations: 321.8 kB / 0.8388 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.7408, allocations: 37.52 kB / 0.8389 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.7409, allocations: 30.17 kB / 0.8389 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.7412, allocations: 69.31 kB / 0.839 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7412, allocations: 2.812 kB / 0.839 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003149/0.7415, allocations: 99.67 kB / 0.839 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.7415, allocations: 7.125 kB / 0.8391 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7415, allocations: 0 / 0.8391 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7415, allocations: 0 / 0.8391 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.7417, allocations: 22.78 kB / 0.8391 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7417, allocations: 0 / 0.8391 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.7418, allocations: 11.61 kB / 0.8391 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.7418, allocations: 0 / 0.8391 GB, free: 8.906 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 8.898e-05/0.7419, allocations: 116.2 kB / 0.8392 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.7419, allocations: 6.484 kB / 0.8392 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.7423, allocations: 109.8 kB / 0.8393 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7423, allocations: 0 / 0.8393 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7423, allocations: 7 kB / 0.8393 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7423, allocations: 3.984 kB / 0.8393 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.7425, allocations: 139.7 kB / 0.8395 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7425, allocations: 2.906 kB / 0.8395 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-05/0.7426, allocations: 18.12 kB / 0.8395 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7426, allocations: 0 / 0.8395 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.7426, allocations: 4 kB / 0.8395 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7426, allocations: 0 / 0.8395 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7426, allocations: 0 / 0.8395 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.7429, allocations: 206 kB / 0.8397 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.743, allocations: 6.203 kB / 0.8397 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.743, allocations: 11.92 kB / 0.8397 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.7431, allocations: 9.734 kB / 0.8397 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.7431, allocations: 2.125 kB / 0.8397 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.7431, allocations: 2.938 kB / 0.8397 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.329e-05/0.7432, allocations: 96.09 kB / 0.8398 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7432, allocations: 3.938 kB / 0.8398 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002322/0.7434, allocations: 16.5 kB / 0.8398 GB, free: 8.227 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.0008154/0.7442, allocations: 0.7366 MB / 0.8405 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.7446, allocations: 72.08 kB / 0.8406 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7446, allocations: 0 / 0.8406 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.7448, allocations: 36.25 kB / 0.8406 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.7451, allocations: 16.64 kB / 0.8407 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.7471, allocations: 1.428 MB / 0.842 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.7475, allocations: 0.6916 MB / 0.8427 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.7475, allocations: 6.938 kB / 0.8427 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.7476, allocations: 14.19 kB / 0.8427 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.7476, allocations: 0 / 0.8427 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.7706, allocations: 2.219 MB / 0.8449 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.08, allocations: 6.219 kB / 0.8449 GB, free: 4.27 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.921232620021328] Failed to read output from testmodel.py, exit status != 0: 12.241751163965091 12.259070344 11.51860902 Calling exit ...