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.0007329/0.0007329, 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.0007389/0.0007389, allocations: 217.7 kB / 22.26 MB, free: 3.703 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 0.9866/0.9866, allocations: 230.6 MB / 256 MB, free: 9.801 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.8171/0.8171, allocations: 203.8 MB / 0.5042 GB, free: 10.68 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.0009706/0.0009706, allocations: 67.58 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4949, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002333/0.4972, allocations: 1.97 MB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1423/0.6396, allocations: 158.9 MB / 0.9749 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.6398, allocations: 3.938 kB / 0.9749 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.64, allocations: 31.73 kB / 0.9749 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.6402, allocations: 75.41 kB / 0.975 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.6409, allocations: 260.5 kB / 0.9753 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.6411, allocations: 275.1 kB / 0.9755 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.6414, allocations: 50.55 kB / 0.9756 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.6424, allocations: 256.9 kB / 0.9758 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.6425, allocations: 99.53 kB / 0.9759 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.6425, allocations: 16 kB / 0.9759 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.6429, allocations: 195.7 kB / 0.9761 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.6429, allocations: 39.89 kB / 0.9762 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.643, allocations: 95.52 kB / 0.9762 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.6435, allocations: 293.2 kB / 0.9765 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6435, allocations: 0 / 0.9765 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6435, allocations: 0 / 0.9765 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.6435, allocations: 0 / 0.9765 GB, free: 3.039 MB / 0.7448 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.0007652/0.6442, allocations: 477.1 kB / 0.977 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.6443, allocations: 8.031 kB / 0.977 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.415e-05/0.6444, allocations: 50.55 kB / 0.977 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006319/0.645, allocations: 115.7 kB / 0.9772 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.6452, allocations: 170.9 kB / 0.9773 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.182e-05/0.6453, allocations: 75.72 kB / 0.9774 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.6453, allocations: 16 kB / 0.9774 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.6457, allocations: 262.5 kB / 0.9777 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6457, allocations: 0 / 0.9777 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.6457, allocations: 8 kB / 0.9777 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.6457, allocations: 4 kB / 0.9777 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.646, allocations: 167.8 kB / 0.9778 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6471, allocations: 1.152 MB / 0.9789 GB, free: 396 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.6475, allocations: 198.7 kB / 0.9791 GB, free: 188 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.6476, allocations: 64.81 kB / 0.9792 GB, free: 120 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.6477, allocations: 0 / 0.9792 GB, free: 120 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.6477, allocations: 34.56 kB / 0.9792 GB, free: 76 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.6477, allocations: 4 kB / 0.9792 GB, free: 72 kB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.001364/0.649, allocations: 490.6 kB / 0.9797 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.6491, allocations: 51.41 kB / 0.9798 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.6493, allocations: 218.9 kB / 0.98 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.6493, allocations: 25.7 kB / 0.98 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.6493, allocations: 140.2 kB / 0.9801 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.6494, allocations: 47.67 kB / 0.9802 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.6494, allocations: 57.56 kB / 0.9802 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.6495, allocations: 326.8 kB / 0.9805 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.6496, allocations: 63.95 kB / 0.9806 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.6498, allocations: 135.7 kB / 0.9807 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.65, allocations: 202.7 kB / 0.9809 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.65, allocations: 4 kB / 0.9809 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007117/0.6507, allocations: 370.8 kB / 0.9813 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6508, allocations: 8 kB / 0.9813 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6508, allocations: 3.984 kB / 0.9813 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.6513, allocations: 165.7 kB / 0.9814 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6514, allocations: 39.95 kB / 0.9815 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.6538, allocations: 3.039 MB / 0.9844 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.654, allocations: 31.88 kB / 0.9845 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.654, allocations: 7.984 kB / 0.9845 GB, free: 10.32 MB / 0.7605 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.0001019/0.6541, allocations: 145.7 kB / 0.9846 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.466e-05/0.6541, allocations: 19.86 kB / 0.9846 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000801/0.6549, allocations: 370 kB / 0.985 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.6549, allocations: 4 kB / 0.985 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.6549, allocations: 0 / 0.985 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6549, allocations: 7.984 kB / 0.985 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.6551, allocations: 244.4 kB / 0.9852 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6551, allocations: 0 / 0.9852 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.6552, allocations: 23.98 kB / 0.9853 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003514/0.6555, allocations: 149.5 kB / 0.9854 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.6556, allocations: 7.938 kB / 0.9854 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.6575, allocations: 3.082 MB / 0.9884 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6575, allocations: 0 / 0.9884 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.6581, allocations: 447 kB / 0.9889 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.6582, allocations: 43.7 kB / 0.9889 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.6582, allocations: 4 kB / 0.9889 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.6583, allocations: 15.98 kB / 0.9889 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.6584, allocations: 19.97 kB / 0.9889 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.6584, allocations: 4 kB / 0.9889 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001061/0.6585, allocations: 160.2 kB / 0.9891 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.6585, allocations: 0 / 0.9891 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002983/0.6588, allocations: 71.94 kB / 0.9892 GB, free: 5.215 MB / 0.7605 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.0008792/0.6597, allocations: 0.9791 MB / 0.9901 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007486/0.6604, allocations: 425.9 kB / 0.9905 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6604, allocations: 4 kB / 0.9905 GB, free: 3.754 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.6608, allocations: 355.2 kB / 0.9909 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.6611, allocations: 58.03 kB / 0.9909 GB, free: 3.328 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.6646, allocations: 2.541 MB / 0.9934 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.6648, allocations: 0.7401 MB / 0.9941 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.665, allocations: 41.92 kB / 0.9942 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.6651, allocations: 55.42 kB / 0.9942 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of SimCode: time 1.613e-06/0.6651, allocations: 0 / 0.9942 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.6894, allocations: 7.528 MB / 1.002 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.665, allocations: 5.891 kB / 1.002 GB, free: 8.434 MB / 0.7761 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.645381905138493] Failed to read output from testmodel.py, exit status != 0: 8.75443961005658 8.765637512 8.120091943 Calling exit ...