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.001327/0.001327, 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.001549/0.001549, allocations: 218.5 kB / 22.25 MB, free: 5.121 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.996 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.8955/0.8955, allocations: 134 MB / 446.4 MB, free: 10.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.002196/0.002196, allocations: 67.3 kB / 0.6185 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1899, allocations: 85.92 MB / 0.7024 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003306/0.1932, allocations: 1.513 MB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5657/0.7589, allocations: 135.3 MB / 0.836 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.7589, allocations: 0 / 0.836 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.759, allocations: 3.938 kB / 0.836 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.7591, allocations: 18.19 kB / 0.836 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.7595, allocations: 72.16 kB / 0.8361 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.7596, allocations: 47.97 kB / 0.8361 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.7597, allocations: 16.98 kB / 0.8362 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.7598, allocations: 23.83 kB / 0.8362 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.7598, allocations: 26.92 kB / 0.8362 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.7598, allocations: 5.938 kB / 0.8362 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.7599, allocations: 17.45 kB / 0.8362 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.76, allocations: 15.05 kB / 0.8362 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.76, allocations: 20.7 kB / 0.8363 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.7601, allocations: 61.23 kB / 0.8363 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7602, allocations: 2.469 kB / 0.8363 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7602, allocations: 3.938 kB / 0.8363 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.7602, allocations: 4 kB / 0.8363 GB, free: 10.77 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.0005329/0.7607, allocations: 291.2 kB / 0.8366 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.7607, allocations: 10.12 kB / 0.8366 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.7608, allocations: 34.73 kB / 0.8366 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.7608, allocations: 11.14 kB / 0.8367 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.761, allocations: 120.2 kB / 0.8368 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.761, allocations: 384 / 0.8368 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.761, allocations: 2.5 kB / 0.8368 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.7612, allocations: 77.33 kB / 0.8369 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.7612, allocations: 6.094 kB / 0.8369 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.7613, allocations: 4 kB / 0.8369 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.7613, allocations: 3.938 kB / 0.8369 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.7615, allocations: 70.17 kB / 0.8369 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.7619, allocations: 250.6 kB / 0.8372 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.7622, allocations: 56.94 kB / 0.8372 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.7623, allocations: 38.8 kB / 0.8373 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.7625, allocations: 15.98 kB / 0.8373 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.7625, allocations: 32.69 kB / 0.8373 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.7625, allocations: 0 / 0.8373 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005244/0.763, allocations: 132.3 kB / 0.8374 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.7631, allocations: 51.41 kB / 0.8375 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.7632, allocations: 118.6 kB / 0.8376 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.7632, allocations: 27.8 kB / 0.8376 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.7633, allocations: 98.48 kB / 0.8377 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.7633, allocations: 7.891 kB / 0.8377 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.7633, allocations: 12.56 kB / 0.8377 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7634, allocations: 325.5 kB / 0.838 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.7636, allocations: 37.66 kB / 0.8381 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.7637, allocations: 33.67 kB / 0.8381 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.764, allocations: 66.42 kB / 0.8382 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.764, allocations: 0 / 0.8382 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003039/0.7643, allocations: 106.3 kB / 0.8383 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7643, allocations: 4.75 kB / 0.8383 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7643, allocations: 0 / 0.8383 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7643, allocations: 0 / 0.8383 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.7644, allocations: 14.45 kB / 0.8383 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.7644, allocations: 0 / 0.8383 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.7645, allocations: 19.83 kB / 0.8383 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.7645, allocations: 2.094 kB / 0.8383 GB, free: 8.926 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 9.086e-05/0.7646, allocations: 120 kB / 0.8384 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.7646, allocations: 7.281 kB / 0.8384 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.765, allocations: 110.3 kB / 0.8385 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.765, allocations: 4 kB / 0.8385 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.765, allocations: 2.625 kB / 0.8386 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.765, allocations: 0 / 0.8386 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.7652, allocations: 148.4 kB / 0.8387 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7652, allocations: 2.719 kB / 0.8387 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.7652, allocations: 13.52 kB / 0.8387 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7652, allocations: 0 / 0.8387 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.7653, allocations: 0 / 0.8387 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.7653, allocations: 3.625 kB / 0.8387 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7653, allocations: 7 kB / 0.8387 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.7656, allocations: 203.9 kB / 0.8389 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.7656, allocations: 10.02 kB / 0.8389 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.7656, allocations: 0 / 0.8389 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.7657, allocations: 15.89 kB / 0.8389 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.7658, allocations: 11.92 kB / 0.8389 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.7658, allocations: 2.531 kB / 0.839 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.7659, allocations: 92.19 kB / 0.839 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.7659, allocations: 0 / 0.839 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002369/0.7661, allocations: 16.25 kB / 0.8391 GB, free: 8.238 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.0007845/0.7669, allocations: 0.7391 MB / 0.8398 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.7672, allocations: 65.77 kB / 0.8398 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.7672, allocations: 4 kB / 0.8398 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.7673, allocations: 36.42 kB / 0.8399 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.7677, allocations: 9.281 kB / 0.8399 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.7698, allocations: 1.429 MB / 0.8413 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.7702, allocations: 0.6833 MB / 0.8419 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.7703, allocations: 2.5 kB / 0.842 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.7703, allocations: 26.48 kB / 0.842 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.7703, allocations: 0 / 0.842 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.7998, allocations: 2.178 MB / 0.8441 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.66, allocations: 6.969 kB / 0.8441 GB, free: 4.305 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 sys.exit(0), Time elapsed: 15.373386770952493] Failed to read output from testmodel.py, exit status != 0: 11.772279363824055 11.803195389 11.037510629 Calling exit ...