Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0013/0.0013, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001454/0.001454, allocations: 213.4 kB / 22.25 MB, free: 5.117 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 8.02 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.8264/0.8264, allocations: 134 MB / 446.4 MB, free: 10.25 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.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_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.002032/0.002032, allocations: 74.08 kB / 0.6185 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1738, allocations: 85.9 MB / 0.7024 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003626/0.1774, allocations: 1.923 MB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5466/0.724, allocations: 158.9 MB / 0.8594 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.7242, allocations: 7.938 kB / 0.8594 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.7244, allocations: 27.73 kB / 0.8595 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.7248, allocations: 75.41 kB / 0.8595 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.7256, allocations: 263 kB / 0.8598 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.726, allocations: 263.2 kB / 0.86 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.7262, allocations: 46.48 kB / 0.8601 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.7279, allocations: 258 kB / 0.8603 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.7281, allocations: 83.67 kB / 0.8604 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.7281, allocations: 16 kB / 0.8604 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.7286, allocations: 199.7 kB / 0.8606 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.7287, allocations: 47.83 kB / 0.8607 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.7288, allocations: 83.59 kB / 0.8607 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006256/0.7294, allocations: 296.5 kB / 0.861 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7294, allocations: 0 / 0.861 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7294, allocations: 0 / 0.861 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7294, allocations: 4 kB / 0.861 GB, free: 4.336 MB / 0.6231 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.001159/0.7306, allocations: 441.4 kB / 0.8614 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.7306, allocations: 12.03 kB / 0.8615 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.574e-05/0.7307, allocations: 50.55 kB / 0.8615 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.7319, allocations: 111.7 kB / 0.8616 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.7323, allocations: 168.9 kB / 0.8618 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.7324, allocations: 67.67 kB / 0.8618 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.7324, allocations: 23.94 kB / 0.8619 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.733, allocations: 258.6 kB / 0.8621 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.733, allocations: 7.875 kB / 0.8621 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.7331, allocations: 8 kB / 0.8621 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.7331, allocations: 7.984 kB / 0.8621 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.7336, allocations: 159.8 kB / 0.8623 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.7354, allocations: 1.153 MB / 0.8634 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007571/0.7362, allocations: 190.6 kB / 0.8636 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.7364, allocations: 64.83 kB / 0.8637 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.7364, allocations: 0 / 0.8637 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.7364, allocations: 42.55 kB / 0.8637 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.7364, allocations: 0 / 0.8637 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.002936/0.7394, allocations: 486.7 kB / 0.8642 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.7394, allocations: 55.41 kB / 0.8642 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.7397, allocations: 199.5 kB / 0.8644 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.7398, allocations: 29.7 kB / 0.8644 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.7399, allocations: 151.5 kB / 0.8646 GB, free: 476 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.7399, allocations: 39.69 kB / 0.8646 GB, free: 436 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.614e-05/0.74, allocations: 45.64 kB / 0.8647 GB, free: 384 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.7402, allocations: 334.8 kB / 0.865 GB, free: 40 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.7404, allocations: 71.94 kB / 0.865 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.7407, allocations: 131.6 kB / 0.8652 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.7411, allocations: 198.7 kB / 0.8654 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7411, allocations: 0 / 0.8654 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001541/0.7427, allocations: 381.4 kB / 0.8657 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.7427, allocations: 4 kB / 0.8657 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.7427, allocations: 4 kB / 0.8657 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.7439, allocations: 165.7 kB / 0.8659 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.7441, allocations: 39.84 kB / 0.8659 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004673/0.7488, allocations: 3.052 MB / 0.8689 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.7492, allocations: 32.56 kB / 0.8689 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.7492, allocations: 16.06 kB / 0.869 GB, free: 11.66 MB / 0.6387 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.0001733/0.7494, allocations: 137.6 kB / 0.8691 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.7495, allocations: 15.91 kB / 0.8691 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.7509, allocations: 373.8 kB / 0.8695 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7509, allocations: 4 kB / 0.8695 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.7509, allocations: 0 / 0.8695 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7509, allocations: 3.984 kB / 0.8695 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.7512, allocations: 241 kB / 0.8697 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7512, allocations: 0 / 0.8697 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.7514, allocations: 27.92 kB / 0.8697 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008659/0.7523, allocations: 145.6 kB / 0.8699 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.7523, allocations: 0 / 0.8699 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004314/0.7566, allocations: 3.086 MB / 0.8729 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7566, allocations: 64 / 0.8729 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.758, allocations: 439.1 kB / 0.8733 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.7581, allocations: 31.97 kB / 0.8733 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.7582, allocations: 7.938 kB / 0.8733 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.7585, allocations: 19.98 kB / 0.8733 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.7586, allocations: 23.95 kB / 0.8734 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.7586, allocations: 4 kB / 0.8734 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001901/0.7588, allocations: 144.2 kB / 0.8735 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7588, allocations: 0 / 0.8735 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004566/0.7592, allocations: 79.86 kB / 0.8736 GB, free: 6.59 MB / 0.6387 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.001729/0.761, allocations: 0.9647 MB / 0.8745 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.7621, allocations: 437.8 kB / 0.8749 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7621, allocations: 3.938 kB / 0.875 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/0.7628, allocations: 363.5 kB / 0.8753 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.7633, allocations: 63.81 kB / 0.8754 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/0.7688, allocations: 2.501 MB / 0.8778 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.7692, allocations: 0.7245 MB / 0.8785 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.7694, allocations: 41.92 kB / 0.8785 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.7695, allocations: 55.41 kB / 0.8786 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.7695, allocations: 0 / 0.8786 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04657/0.8161, allocations: 7.538 MB / 0.886 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.91, allocations: 0 / 0.886 GB, free: 9.867 MB / 0.6544 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.509218534920365] Failed to read output from testmodel.py, exit status != 0: 14.022018108982593 14.040535551 13.307721624 Calling exit ...