Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.0008359/0.0008359, 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.0009701/0.0009701, allocations: 213.8 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 1.032/1.032, allocations: 230.6 MB / 256 MB, free: 9.82 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.8247/0.8247, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",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.001587/0.001587, allocations: 71.64 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.519, allocations: 102 MB / 0.8178 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001837/0.5208, allocations: 1.448 MB / 0.8193 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.5217, allocations: 0.6175 MB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.5217, allocations: 0.9688 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/0.5217, allocations: 0 / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.5218, allocations: 7.266 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.5221, allocations: 98.02 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.5222, allocations: 29.69 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.5223, allocations: 3.688 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.5223, allocations: 14.22 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.5224, allocations: 11.67 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.5224, allocations: 3.938 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.5226, allocations: 155 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.5226, allocations: 5.312 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.5226, allocations: 7.172 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.5228, allocations: 102.9 kB / 0.8203 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5228, allocations: 0 / 0.8203 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5228, allocations: 0 / 0.8203 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5228, allocations: 4 kB / 0.8203 GB, free: 15.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003507/0.5232, allocations: 282 kB / 0.8205 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5232, allocations: 12.03 kB / 0.8206 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.805e-05/0.5232, allocations: 38.69 kB / 0.8206 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.5235, allocations: 32.61 kB / 0.8206 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.5236, allocations: 114.3 kB / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5236, allocations: 384 / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.5236, allocations: 1.938 kB / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.5238, allocations: 67.64 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5238, allocations: 3.938 kB / 0.8208 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5238, allocations: 0.7031 kB / 0.8208 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5238, allocations: 0 / 0.8208 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.524, allocations: 56.64 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.5243, allocations: 249.4 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.5245, allocations: 61.06 kB / 0.8212 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.419e-05/0.5245, allocations: 33.41 kB / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.5245, allocations: 0 / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.5246, allocations: 39.14 kB / 0.8212 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5246, allocations: 0 / 0.8212 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003085/0.5249, allocations: 120 kB / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.5249, allocations: 51.41 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.525, allocations: 99.36 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.525, allocations: 27.25 kB / 0.8215 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.525, allocations: 85.73 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.525, allocations: 9.359 kB / 0.8216 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.5251, allocations: 16.7 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.5251, allocations: 311.5 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.5252, allocations: 26.25 kB / 0.8219 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.5253, allocations: 28.23 kB / 0.822 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.5254, allocations: 59.33 kB / 0.822 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5254, allocations: 3.938 kB / 0.822 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001596/0.5255, allocations: 93.12 kB / 0.8221 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5256, allocations: 6.484 kB / 0.8221 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5256, allocations: 0 / 0.8221 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5256, allocations: 6.922 kB / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.5256, allocations: 15.69 kB / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5257, allocations: 0 / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.5257, allocations: 13.03 kB / 0.8222 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.5257, allocations: 1.328 kB / 0.8222 GB, free: 14.05 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.808e-05/0.5258, allocations: 120.2 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.5258, allocations: 4.531 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.5258, allocations: 8.109 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5258, allocations: 0 / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5258, allocations: 0 / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5258, allocations: 0.7969 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.5259, allocations: 140.7 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5259, allocations: 4 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.526, allocations: 14.31 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.526, allocations: 0.6562 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.526, allocations: 4.734 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.526, allocations: 0.7031 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.526, allocations: 0 / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.5262, allocations: 191.8 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.5262, allocations: 3.719 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5262, allocations: 0.75 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/0.5263, allocations: 6.047 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.5263, allocations: 2.797 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.5263, allocations: 3 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.93e-05/0.5263, allocations: 84.58 kB / 0.8227 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5263, allocations: 0 / 0.8227 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001691/0.5265, allocations: 20.28 kB / 0.8227 GB, free: 13.51 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 (2): * Single equations (assignments): 2 * 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.0007148/0.5272, allocations: 0.7266 MB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.5274, allocations: 58.25 kB / 0.8235 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5274, allocations: 0 / 0.8235 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.5275, allocations: 30.61 kB / 0.8235 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.5277, allocations: 3.844 kB / 0.8235 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.5281, allocations: 173.9 kB / 0.8237 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.5283, allocations: 0.676 MB / 0.8244 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.498e-05/0.5283, allocations: 10.94 kB / 0.8244 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.5283, allocations: 15.62 kB / 0.8244 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5283, allocations: 3.938 kB / 0.8244 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.5454, allocations: 1.772 MB / 0.8261 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.389/6.934, allocations: 10.08 kB / 0.8261 GB, free: 11.48 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.015507232863456] Failed to read output from testmodel.py, exit status != 0: 7.014215898932889 7.02563206 6.50064562 Calling exit ...