Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.0008216/0.0008216, 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.0008046/0.0008046, allocations: 169.9 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.9494/0.9494, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7594/0.7594, allocations: 154.5 MB / 413.7 MB, free: 0.8477 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.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.588e-05, allocations: 5.375 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002351/0.002377, allocations: 1.653 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4455/0.4478, allocations: 131.5 MB / 0.7481 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.448, allocations: 4.844 kB / 0.7481 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.4481, allocations: 22.44 kB / 0.7481 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.4484, allocations: 57.58 kB / 0.7482 GB, free: 18 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.4489, allocations: 194.1 kB / 0.7484 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000185/0.4491, allocations: 175 kB / 0.7485 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.4492, allocations: 23.81 kB / 0.7486 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.4502, allocations: 222.5 kB / 0.7488 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.4503, allocations: 51.16 kB / 0.7488 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.4504, allocations: 8.812 kB / 0.7488 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.4507, allocations: 164 kB / 0.749 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.4507, allocations: 25.86 kB / 0.749 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.4508, allocations: 42.02 kB / 0.749 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.4512, allocations: 232.1 kB / 0.7493 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4512, allocations: 0 / 0.7493 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4512, allocations: 1.625 kB / 0.7493 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.4512, allocations: 0 / 0.7493 GB, free: 17.57 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006075/0.4518, allocations: 402.3 kB / 0.7496 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4518, allocations: 11.06 kB / 0.7497 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.4519, allocations: 42.83 kB / 0.7497 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.4524, allocations: 75.97 kB / 0.7498 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.4525, allocations: 150.8 kB / 0.7499 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4526, allocations: 8.234 kB / 0.7499 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.4526, allocations: 9.406 kB / 0.7499 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.4529, allocations: 179.8 kB / 0.7501 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4529, allocations: 0 / 0.7501 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4529, allocations: 5.375 kB / 0.7501 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4529, allocations: 2.75 kB / 0.7501 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.4532, allocations: 144.1 kB / 0.7503 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.4539, allocations: 0.7116 MB / 0.7509 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.4542, allocations: 139.4 kB / 0.7511 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.4544, allocations: 78.89 kB / 0.7512 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.4544, allocations: 1.859 kB / 0.7512 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.4544, allocations: 36.67 kB / 0.7512 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/0.4544, allocations: 0 / 0.7512 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001145/0.4556, allocations: 384.1 kB / 0.7516 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.4556, allocations: 53.34 kB / 0.7516 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.4557, allocations: 150 kB / 0.7518 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4557, allocations: 30.89 kB / 0.7518 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.4558, allocations: 111.8 kB / 0.7519 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.872e-05/0.4558, allocations: 25.97 kB / 0.7519 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.4558, allocations: 37.08 kB / 0.7519 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.4559, allocations: 324.7 kB / 0.7523 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.456, allocations: 67.44 kB / 0.7523 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4562, allocations: 105.1 kB / 0.7524 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.4565, allocations: 182.8 kB / 0.7526 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4565, allocations: 7.562 kB / 0.7526 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005539/0.457, allocations: 270.1 kB / 0.7529 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.457, allocations: 7.812 kB / 0.7529 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.457, allocations: 5.5 kB / 0.7529 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.4574, allocations: 81.89 kB / 0.753 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4575, allocations: 39.88 kB / 0.753 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.4589, allocations: 1.551 MB / 0.7545 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.459, allocations: 25.34 kB / 0.7545 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.459, allocations: 8.578 kB / 0.7545 GB, free: 13.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.52e-05/0.4591, allocations: 134.3 kB / 0.7547 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.4592, allocations: 8.859 kB / 0.7547 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.4598, allocations: 306.7 kB / 0.755 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4598, allocations: 1.438 kB / 0.755 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4598, allocations: 4.703 kB / 0.755 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4598, allocations: 5.984 kB / 0.755 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.46, allocations: 198.3 kB / 0.7552 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.46, allocations: 0 / 0.7552 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.542e-05/0.4601, allocations: 30.14 kB / 0.7552 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/0.4603, allocations: 76.06 kB / 0.7553 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4603, allocations: 3.828 kB / 0.7553 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009769/0.4613, allocations: 1.58 MB / 0.7568 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4613, allocations: 0 / 0.7568 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.4619, allocations: 375.9 kB / 0.7572 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.462, allocations: 30.73 kB / 0.7572 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.462, allocations: 1.719 kB / 0.7572 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4621, allocations: 21.75 kB / 0.7572 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.4622, allocations: 16.89 kB / 0.7572 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.4622, allocations: 7.953 kB / 0.7572 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.4622, allocations: 117.8 kB / 0.7574 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4622, allocations: 0 / 0.7574 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002869/0.4625, allocations: 44.09 kB / 0.7574 GB, free: 11.47 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007984/0.4633, allocations: 0.9249 MB / 0.7583 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005607/0.4639, allocations: 303.1 kB / 0.7586 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4639, allocations: 1.125 kB / 0.7586 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.4642, allocations: 224.2 kB / 0.7588 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.4644, allocations: 23.11 kB / 0.7588 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.4668, allocations: 2.067 MB / 0.7608 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.4669, allocations: 93.55 kB / 0.7609 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.467, allocations: 28.19 kB / 0.761 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.4671, allocations: 42.69 kB / 0.761 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.4671, allocations: 0 / 0.761 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.4915, allocations: 5.469 MB / 0.7663 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.61, allocations: 11.61 kB / 0.7664 GB, free: 7.656 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_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_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.602706739678979] Failed to read output from testmodel.py, exit status != 0: 8.703634009696543 8.71192355 8.258804359 Calling exit ...