Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007842/0.0007842, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001262/0.001262, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9066/0.9066, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7105/0.7105, allocations: 154.6 MB / 413.8 MB, free: 0.7773 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.017e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001707/0.001727, allocations: 1.439 MB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007017/0.002429, allocations: 0.5608 MB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.002452, allocations: 4 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.002479, allocations: 3.938 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.002531, allocations: 7.922 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.002857, allocations: 99.5 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.665e-05/0.002924, allocations: 27.86 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.003009, allocations: 4 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.003056, allocations: 15.97 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.003095, allocations: 4 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.003109, allocations: 11.94 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.003292, allocations: 143.7 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.003305, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.003323, allocations: 11.94 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.003501, allocations: 115.7 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003502, allocations: 0 / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003503, allocations: 0 / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003508, allocations: 0 / 0.6205 GB, free: 11.24 MB / 0.5886 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.0003882/0.003896, allocations: 282.1 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.00394, allocations: 11.97 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.00397, allocations: 38.75 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.004239, allocations: 28.89 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.004317, allocations: 109.7 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.004329, allocations: 4.359 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.004339, allocations: 384 / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.004503, allocations: 66.2 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.004509, allocations: 4.188 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.00452, allocations: 4.375 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.004526, allocations: 4.125 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.004654, allocations: 51.94 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.004956, allocations: 235.9 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.005076, allocations: 70.47 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.258e-05/0.005139, allocations: 28.89 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.005157, allocations: 4 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.005177, allocations: 38.5 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.005178, allocations: 0 / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003097/0.005488, allocations: 117.5 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.005513, allocations: 59.34 kB / 0.6216 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.005565, allocations: 97.86 kB / 0.6217 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.005575, allocations: 25.7 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.005605, allocations: 80.14 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.005622, allocations: 12.08 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.005651, allocations: 17.7 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.005723, allocations: 314.8 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.005784, allocations: 23.97 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.458e-05/0.005838, allocations: 27.97 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.005953, allocations: 60.86 kB / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005954, allocations: 0 / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001423/0.006096, allocations: 93.52 kB / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.006107, allocations: 4 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.006111, allocations: 4.031 kB / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.00612, allocations: 0 / 0.6223 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.006188, allocations: 15.97 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.006192, allocations: 3.938 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.006227, allocations: 11.98 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.006233, allocations: 0 / 0.6223 GB, free: 9.129 MB / 0.5886 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 6.592e-05/0.006299, allocations: 106.8 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.006315, allocations: 11.89 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.006357, allocations: 15.27 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006358, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.006362, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.006365, allocations: 3.984 kB / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.736e-05/0.006463, allocations: 128.8 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006464, allocations: 0 / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.006515, allocations: 11.98 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.006518, allocations: 3.938 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.006526, allocations: 12 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006527, allocations: 0 / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006528, allocations: 0 / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.006699, allocations: 183.4 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.006707, allocations: 7.938 kB / 0.6228 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.006717, allocations: 0 / 0.6228 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.006767, allocations: 12.02 kB / 0.6228 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.006796, allocations: 0 / 0.6228 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.006801, allocations: 7.984 kB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.006825, allocations: 83.28 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006825, allocations: 0 / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001548/0.00698, allocations: 11.94 kB / 0.6229 GB, free: 8.473 MB / 0.5886 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.0004048/0.007385, allocations: 0.75 MB / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.007558, allocations: 55.88 kB / 0.6237 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.00756, allocations: 0 / 0.6237 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.007629, allocations: 32.06 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.007828, allocations: 7.172 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.008198, allocations: 154.5 kB / 0.6239 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.008239, allocations: 63.28 kB / 0.6239 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.131e-05/0.00828, allocations: 12.06 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.008322, allocations: 20.48 kB / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.008322, allocations: 0 / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.02199, allocations: 2.336 MB / 0.6262 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/6.734, allocations: 3.375 kB / 0.6262 GB, free: 5.113 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.386546211317182] Failed to read output from testmodel.py, exit status != 0: 6.810637401416898 6.82037891 6.814361447 Calling exit ...