Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009399/0.0009399, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001026/0.001026, allocations: 221.7 kB / 22.26 MB, free: 3.691 MB / 13.93 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.04/1.04, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8461/0.8461, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_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.0007968/0.0007968, allocations: 66.02 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5701/0.5709, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001817/0.5727, allocations: 1.312 MB / 0.8191 GB, free: 344 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.7052, allocations: 135.2 MB / 0.9512 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.7053, allocations: 3.938 kB / 0.9512 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.7053, allocations: 0 / 0.9512 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.7054, allocations: 3.938 kB / 0.9512 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.7058, allocations: 55.72 kB / 0.9512 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.7059, allocations: 27.86 kB / 0.9513 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.706, allocations: 4 kB / 0.9513 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.587e-05/0.7061, allocations: 11.81 kB / 0.9513 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.7061, allocations: 8 kB / 0.9513 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.7062, allocations: 4 kB / 0.9513 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.7063, allocations: 27.91 kB / 0.9513 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.7063, allocations: 4 kB / 0.9513 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.7063, allocations: 7.938 kB / 0.9513 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.7065, allocations: 34.3 kB / 0.9514 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.7065, allocations: 0 / 0.9514 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7065, allocations: 0 / 0.9514 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.7065, allocations: 0 / 0.9514 GB, free: 12.79 MB / 0.7292 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.0004571/0.707, allocations: 254.3 kB / 0.9516 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.707, allocations: 12.03 kB / 0.9516 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.707, allocations: 38.73 kB / 0.9517 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.7072, allocations: 4.938 kB / 0.9517 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/0.7073, allocations: 110.5 kB / 0.9518 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.7073, allocations: 55.95 kB / 0.9518 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.7073, allocations: 8.375 kB / 0.9518 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.804e-05/0.7074, allocations: 41.94 kB / 0.9519 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.7075, allocations: 0 / 0.9519 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.7075, allocations: 7.938 kB / 0.9519 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.7075, allocations: 4 kB / 0.9519 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.7075, allocations: 15.97 kB / 0.9519 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.7076, allocations: 128.8 kB / 0.952 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.7077, allocations: 30.58 kB / 0.9521 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.7078, allocations: 12.94 kB / 0.9521 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.7078, allocations: 0 / 0.9521 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.7078, allocations: 42.44 kB / 0.9521 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.7078, allocations: 0 / 0.9521 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002067/0.708, allocations: 61.67 kB / 0.9522 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.708, allocations: 51.41 kB / 0.9522 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.7081, allocations: 93.86 kB / 0.9523 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.7081, allocations: 25.7 kB / 0.9523 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.7082, allocations: 88.14 kB / 0.9524 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.7082, allocations: 11.84 kB / 0.9524 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.7082, allocations: 17.7 kB / 0.9524 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7083, allocations: 318.8 kB / 0.9527 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.7084, allocations: 4 kB / 0.9527 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.7084, allocations: 11.98 kB / 0.9528 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.779e-05/0.7085, allocations: 24.78 kB / 0.9528 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7085, allocations: 0 / 0.9528 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.214e-05/0.7086, allocations: 53.69 kB / 0.9528 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7086, allocations: 7.938 kB / 0.9528 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.7086, allocations: 0 / 0.9528 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.7086, allocations: 0 / 0.9528 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.7087, allocations: 8 kB / 0.9528 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7087, allocations: 0 / 0.9528 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.7087, allocations: 7.984 kB / 0.9529 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.7087, allocations: 0 / 0.9529 GB, free: 11.05 MB / 0.7292 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.386e-05/0.7088, allocations: 113.8 kB / 0.953 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-06/0.7088, allocations: 3.938 kB / 0.953 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.7088, allocations: 7.688 kB / 0.953 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7088, allocations: 3.938 kB / 0.953 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.7089, allocations: 0 / 0.953 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.7089, allocations: 8 kB / 0.953 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.614e-05/0.709, allocations: 124.8 kB / 0.9531 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.709, allocations: 0 / 0.9531 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.709, allocations: 4 kB / 0.9531 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.709, allocations: 4.453 kB / 0.9531 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.709, allocations: 4 kB / 0.9531 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.709, allocations: 3.984 kB / 0.9531 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.709, allocations: 0 / 0.9531 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.7091, allocations: 81 kB / 0.9532 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.7092, allocations: 7.938 kB / 0.9532 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.7092, allocations: 4 kB / 0.9532 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.7092, allocations: 3.984 kB / 0.9532 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.7092, allocations: 8 kB / 0.9532 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.7093, allocations: 0 / 0.9532 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.7093, allocations: 79.22 kB / 0.9533 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.7093, allocations: 0 / 0.9533 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001219/0.7094, allocations: 8 kB / 0.9533 GB, free: 10.52 MB / 0.7292 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.0005564/0.71, allocations: 0.6085 MB / 0.9539 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.7101, allocations: 23.92 kB / 0.9539 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7101, allocations: 0 / 0.9539 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.7101, allocations: 15.92 kB / 0.9539 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.7104, allocations: 8 kB / 0.9539 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.7109, allocations: 161.7 kB / 0.9541 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.711, allocations: 0.6768 MB / 0.9548 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.7111, allocations: 4 kB / 0.9548 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.7111, allocations: 7.438 kB / 0.9548 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.7111, allocations: 4 kB / 0.9548 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.728, allocations: 1.383 MB / 0.9561 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.354/7.082, allocations: 1.203 kB / 0.9561 GB, free: 7.652 MB / 0.7292 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.329406887991354] Failed to read output from testmodel.py, exit status != 0: 7.160029138904065 7.169333284 6.460935536 Calling exit ...