Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.0009153/0.0009153, allocations: 101.5 kB / 18.95 MB, free: 1.312 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.0009121/0.0009121, allocations: 216 kB / 22.25 MB, free: 3.676 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.084/1.084, allocations: 230.6 MB / 256 MB, free: 9.617 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.7967/0.7967, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.0009726/0.0009726, allocations: 68.23 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.5245, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002619/0.5271, allocations: 1.869 MB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1386/0.6657, allocations: 136.7 MB / 0.9531 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.6659, allocations: 4 kB / 0.9532 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.6661, allocations: 23.73 kB / 0.9532 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.6664, allocations: 79.41 kB / 0.9532 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007568/0.6672, allocations: 259.1 kB / 0.9535 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.6675, allocations: 275 kB / 0.9538 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.6677, allocations: 50.53 kB / 0.9538 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.6687, allocations: 259.5 kB / 0.9541 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.6689, allocations: 87.59 kB / 0.9541 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.6689, allocations: 16 kB / 0.9542 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.6692, allocations: 175.7 kB / 0.9543 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.6692, allocations: 47.81 kB / 0.9544 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.6693, allocations: 79.66 kB / 0.9544 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.6697, allocations: 301.1 kB / 0.9547 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6697, allocations: 0 / 0.9547 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6697, allocations: 4 kB / 0.9547 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.6697, allocations: 0 / 0.9547 GB, free: 8.938 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007725/0.6705, allocations: 471.1 kB / 0.9552 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.6705, allocations: 12.03 kB / 0.9552 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.6706, allocations: 46.55 kB / 0.9552 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000654/0.6712, allocations: 115.7 kB / 0.9553 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.6715, allocations: 170.5 kB / 0.9555 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.572e-05/0.6716, allocations: 63.73 kB / 0.9556 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.6716, allocations: 16 kB / 0.9556 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.672, allocations: 314 kB / 0.9559 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.672, allocations: 4 kB / 0.9559 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.672, allocations: 11.98 kB / 0.9559 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.672, allocations: 4 kB / 0.9559 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.6723, allocations: 163.8 kB / 0.9561 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.6734, allocations: 1.113 MB / 0.9571 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.6739, allocations: 206.6 kB / 0.9573 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.674, allocations: 60.81 kB / 0.9574 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.674, allocations: 7.938 kB / 0.9574 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.6741, allocations: 34.56 kB / 0.9574 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.6741, allocations: 0 / 0.9574 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.001472/0.6755, allocations: 488.9 kB / 0.9579 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.6756, allocations: 55.41 kB / 0.958 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.6758, allocations: 222.9 kB / 0.9582 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.6758, allocations: 33.64 kB / 0.9582 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.6759, allocations: 140.2 kB / 0.9583 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.6759, allocations: 39.64 kB / 0.9584 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.676, allocations: 49.64 kB / 0.9584 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.676, allocations: 330.8 kB / 0.9587 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.6762, allocations: 71.88 kB / 0.9588 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.6764, allocations: 161.3 kB / 0.959 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.6766, allocations: 194.7 kB / 0.9592 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6766, allocations: 4.031 kB / 0.9592 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007632/0.6774, allocations: 382.7 kB / 0.9595 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.6774, allocations: 4.219 kB / 0.9595 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6774, allocations: 8 kB / 0.9595 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.678, allocations: 157.5 kB / 0.9597 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.6781, allocations: 39.91 kB / 0.9597 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.6809, allocations: 3.024 MB / 0.9627 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.681, allocations: 43.75 kB / 0.9627 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6811, allocations: 4 kB / 0.9627 GB, free: 184 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.6812, allocations: 138.7 kB / 0.9629 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.6812, allocations: 19.91 kB / 0.9629 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/0.6819, allocations: 366.3 kB / 0.9632 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6819, allocations: 8 kB / 0.9632 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.6819, allocations: 0 / 0.9632 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.6819, allocations: 3.984 kB / 0.9632 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.6821, allocations: 228.4 kB / 0.9634 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6821, allocations: 3.938 kB / 0.9635 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.6822, allocations: 31.91 kB / 0.9635 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003827/0.6826, allocations: 133.6 kB / 0.9636 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6826, allocations: 4 kB / 0.9636 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.6848, allocations: 3.086 MB / 0.9666 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6848, allocations: 0 / 0.9666 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.6855, allocations: 432.8 kB / 0.967 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.6856, allocations: 39.75 kB / 0.9671 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.6856, allocations: 7.938 kB / 0.9671 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.6857, allocations: 15.98 kB / 0.9671 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.6858, allocations: 12.16 kB / 0.9671 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.6858, allocations: 12 kB / 0.9671 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001184/0.6859, allocations: 160.2 kB / 0.9673 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.6859, allocations: 0 / 0.9673 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003123/0.6862, allocations: 75.89 kB / 0.9673 GB, free: 11.11 MB / 0.7448 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008931/0.6871, allocations: 0.9777 MB / 0.9683 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000648/0.6877, allocations: 429.8 kB / 0.9687 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6878, allocations: 0 / 0.9687 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.6881, allocations: 361.1 kB / 0.9691 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.6884, allocations: 58.64 kB / 0.9691 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.6916, allocations: 2.52 MB / 0.9716 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.6917, allocations: 136.5 kB / 0.9717 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.6918, allocations: 41.91 kB / 0.9717 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.6919, allocations: 47.42 kB / 0.9718 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of SimCode: time 1.223e-06/0.6919, allocations: 4 kB / 0.9718 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.7161, allocations: 8.024 MB / 0.9796 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/8.409, allocations: 1.203 kB / 0.9796 GB, free: 14.5 MB / 0.7605 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_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_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.642495019827038] Failed to read output from testmodel.py, exit status != 0: 8.498912176117301 8.51518582 7.842433224 Calling exit ...