Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.000769/0.000769, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008199/0.0008199, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9447/0.9447, allocations: 230.6 MB / 256 MB, free: 9.625 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.8077/0.8077, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001403/0.001403, allocations: 74.83 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5606, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002192/0.5628, allocations: 1.712 MB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006021/0.5634, allocations: 409.6 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.5634, allocations: 2.844 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.5635, allocations: 10.83 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.5636, allocations: 21.58 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.564, allocations: 121.5 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.5642, allocations: 108 kB / 0.8202 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.5643, allocations: 35.09 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.5644, allocations: 47.42 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.5645, allocations: 34.94 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.5645, allocations: 8.812 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.5646, allocations: 61.06 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.5646, allocations: 21.14 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.5647, allocations: 53.66 kB / 0.8204 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.5649, allocations: 127.1 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.565, allocations: 4 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.565, allocations: 1.594 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.565, allocations: 0.6094 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005329/0.5655, allocations: 335.9 kB / 0.8209 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.5655, allocations: 10.03 kB / 0.8209 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.5656, allocations: 39 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.5658, allocations: 36.42 kB / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.566, allocations: 150.3 kB / 0.8211 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.726e-05/0.5661, allocations: 59.23 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.5661, allocations: 7.406 kB / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.5663, allocations: 108.2 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.5663, allocations: 0 / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5663, allocations: 0 / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5663, allocations: 8.203 kB / 0.8213 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.5665, allocations: 80.12 kB / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.567, allocations: 347.2 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.5674, allocations: 135 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.5675, allocations: 37.41 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.5675, allocations: 0 / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.5675, allocations: 36.5 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.5675, allocations: 0 / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003082/0.5678, allocations: 135.3 kB / 0.822 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.5678, allocations: 55.34 kB / 0.822 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.568, allocations: 144.6 kB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.568, allocations: 26.8 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.568, allocations: 107.2 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.5681, allocations: 16.44 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.5681, allocations: 27.73 kB / 0.8224 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.5682, allocations: 316 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.5683, allocations: 31.72 kB / 0.8227 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.5684, allocations: 42.95 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.5685, allocations: 86.73 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5685, allocations: 0 / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000179/0.5687, allocations: 115.7 kB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5687, allocations: 6.812 kB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5687, allocations: 4.703 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5687, allocations: 5.781 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.5688, allocations: 19.34 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5688, allocations: 5.938 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.5688, allocations: 11.23 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.5688, allocations: 3.391 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 8.087e-05/0.5689, allocations: 122.3 kB / 0.8231 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.5689, allocations: 8.875 kB / 0.8231 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.569, allocations: 11.38 kB / 0.8231 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.569, allocations: 4.5 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.569, allocations: 1.031 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.569, allocations: 0.7031 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.5691, allocations: 178.3 kB / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5692, allocations: 0 / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.5692, allocations: 16.33 kB / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5692, allocations: 1.531 kB / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.5692, allocations: 0 / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5692, allocations: 4.5 kB / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5692, allocations: 5.312 kB / 0.8233 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.5694, allocations: 205.7 kB / 0.8235 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.5694, allocations: 9.625 kB / 0.8235 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.5695, allocations: 1.375 kB / 0.8235 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.5695, allocations: 17.22 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.5696, allocations: 8.406 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.5696, allocations: 5.922 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.5696, allocations: 105.7 kB / 0.8236 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5696, allocations: 0 / 0.8236 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001633/0.5698, allocations: 28.75 kB / 0.8237 GB, free: 12.96 MB / 0.6198 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 (7): * Single equations (assignments): 7 * 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.0003888/0.5702, allocations: 0.7303 MB / 0.8244 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.5704, allocations: 82.22 kB / 0.8245 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5704, allocations: 0 / 0.8245 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-05/0.5704, allocations: 40.42 kB / 0.8245 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.5707, allocations: 36.17 kB / 0.8245 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.5721, allocations: 1.544 MB / 0.826 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.5723, allocations: 0.6932 MB / 0.8267 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.805e-05/0.5723, allocations: 13.06 kB / 0.8267 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.5724, allocations: 25.64 kB / 0.8268 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of SimCode: time 7.32e-07/0.5724, allocations: 0 / 0.8268 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.5901, allocations: 2.866 MB / 0.8296 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/7.176, allocations: 10.17 kB / 0.8296 GB, free: 9.68 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.123190375976264] Failed to read output from testmodel.py, exit status != 0: 7.256757118972018 7.26702939 6.699969694 Calling exit ...