Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008377/0.0008377, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008186/0.0008186, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9357/0.9357, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7445/0.7445, allocations: 154.5 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.441e-05, allocations: 2.281 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002794/0.002818, allocations: 1.515 MB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3841/0.3869, allocations: 115.8 MB / 0.7326 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.3869, allocations: 1.062 kB / 0.7326 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.387, allocations: 6.984 kB / 0.7326 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.387, allocations: 9.625 kB / 0.7326 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.3874, allocations: 70.42 kB / 0.7327 GB, free: 28.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.731e-05/0.3875, allocations: 55.56 kB / 0.7327 GB, free: 28.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.3876, allocations: 11.47 kB / 0.7327 GB, free: 28.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.238e-05/0.3876, allocations: 29.58 kB / 0.7328 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.036e-05/0.3877, allocations: 21.19 kB / 0.7328 GB, free: 28.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3877, allocations: 4.781 kB / 0.7328 GB, free: 28.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.3878, allocations: 21.56 kB / 0.7328 GB, free: 28.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.3878, allocations: 13.06 kB / 0.7328 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.3878, allocations: 13.34 kB / 0.7328 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3879, allocations: 65.98 kB / 0.7329 GB, free: 28.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3879, allocations: 4.531 kB / 0.7329 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3879, allocations: 0 / 0.7329 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3879, allocations: 0.5312 kB / 0.7329 GB, free: 28.09 MB / 0.6355 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.0003713/0.3883, allocations: 295.3 kB / 0.7332 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3884, allocations: 10.69 kB / 0.7332 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.446e-05/0.3884, allocations: 39.06 kB / 0.7332 GB, free: 27.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.3885, allocations: 8.594 kB / 0.7333 GB, free: 27.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.3886, allocations: 120.5 kB / 0.7334 GB, free: 27.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3886, allocations: 5.594 kB / 0.7334 GB, free: 27.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3886, allocations: 2.812 kB / 0.7334 GB, free: 27.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.3888, allocations: 81.78 kB / 0.7335 GB, free: 27.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3888, allocations: 1.25 kB / 0.7335 GB, free: 27.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.3888, allocations: 384 / 0.7335 GB, free: 27.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3888, allocations: 5.188 kB / 0.7335 GB, free: 27.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3889, allocations: 68.77 kB / 0.7335 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.3892, allocations: 250.7 kB / 0.7338 GB, free: 27.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3893, allocations: 58.06 kB / 0.7338 GB, free: 27.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.237e-05/0.3894, allocations: 37.05 kB / 0.7339 GB, free: 27.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.3894, allocations: 0 / 0.7339 GB, free: 27.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.3894, allocations: 35.19 kB / 0.7339 GB, free: 27.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.3894, allocations: 8.5 kB / 0.7339 GB, free: 27.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002875/0.3897, allocations: 135.3 kB / 0.734 GB, free: 27.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.3897, allocations: 51.41 kB / 0.7341 GB, free: 27.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.3898, allocations: 123 kB / 0.7342 GB, free: 27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-06/0.3898, allocations: 25.7 kB / 0.7342 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.127e-05/0.3898, allocations: 91.42 kB / 0.7343 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.3898, allocations: 12.27 kB / 0.7343 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.3899, allocations: 16.12 kB / 0.7343 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.596e-05/0.3899, allocations: 316.4 kB / 0.7346 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.39, allocations: 28.5 kB / 0.7347 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.39, allocations: 35.11 kB / 0.7347 GB, free: 26.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3901, allocations: 71.41 kB / 0.7348 GB, free: 26.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3901, allocations: 0 / 0.7348 GB, free: 26.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001529/0.3903, allocations: 113.3 kB / 0.7349 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3903, allocations: 6.219 kB / 0.7349 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3903, allocations: 0 / 0.7349 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3903, allocations: 4 kB / 0.7349 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.3904, allocations: 13.88 kB / 0.7349 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3904, allocations: 4.641 kB / 0.7349 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.3904, allocations: 9.953 kB / 0.7349 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3904, allocations: 1.094 kB / 0.7349 GB, free: 26.45 MB / 0.6355 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 3.659e-05/0.3905, allocations: 113.2 kB / 0.735 GB, free: 26.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.3905, allocations: 10.17 kB / 0.735 GB, free: 26.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.3905, allocations: 9.547 kB / 0.735 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.3905, allocations: 0 / 0.735 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3905, allocations: 4.906 kB / 0.735 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3905, allocations: 0 / 0.735 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.1e-05/0.3906, allocations: 137.1 kB / 0.7352 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.3906, allocations: 1.094 kB / 0.7352 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.3906, allocations: 20.14 kB / 0.7352 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3906, allocations: 0 / 0.7352 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3907, allocations: 1.125 kB / 0.7352 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.3907, allocations: 0 / 0.7352 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3907, allocations: 5.125 kB / 0.7352 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3908, allocations: 200.3 kB / 0.7354 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.3908, allocations: 9.391 kB / 0.7354 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.3908, allocations: 0 / 0.7354 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.3909, allocations: 18.12 kB / 0.7354 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.3909, allocations: 6.438 kB / 0.7354 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.3909, allocations: 0 / 0.7354 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.628e-05/0.391, allocations: 95.14 kB / 0.7355 GB, free: 25.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.391, allocations: 0 / 0.7355 GB, free: 25.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001492/0.3911, allocations: 12.19 kB / 0.7355 GB, free: 25.91 MB / 0.6355 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.0002689/0.3914, allocations: 0.7337 MB / 0.7362 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3916, allocations: 70.28 kB / 0.7363 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3916, allocations: 0 / 0.7363 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.849e-05/0.3916, allocations: 33.98 kB / 0.7363 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3919, allocations: 14.14 kB / 0.7364 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.3928, allocations: 1.416 MB / 0.7377 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.3928, allocations: 67.97 kB / 0.7378 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.3929, allocations: 5.281 kB / 0.7378 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.3929, allocations: 18.34 kB / 0.7378 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.3929, allocations: 0 / 0.7378 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.4071, allocations: 2.731 MB / 0.7405 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/7.32, allocations: 9.828 kB / 0.7405 GB, free: 22.96 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.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_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.184593454003334] Failed to read output from testmodel.py, exit status != 0: 7.401652186177671 7.410890545 7.020874285 Calling exit ...