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.0008431/0.0008431, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001207/0.001207, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.995/0.995, allocations: 230.6 MB / 256 MB, free: 9.59 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.7777/0.7777, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.0008925/0.0008925, allocations: 67.94 kB / 0.7181 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5073, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001972/0.5092, allocations: 1.437 MB / 0.8192 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.51, allocations: 0.5718 MB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.5101, allocations: 0 / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.5101, allocations: 3.938 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/0.5102, allocations: 4.641 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.5106, allocations: 102.7 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.5106, allocations: 26.05 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.5107, allocations: 4.266 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.5108, allocations: 12.36 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.5108, allocations: 7.828 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.5108, allocations: 0.8438 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.5111, allocations: 145.1 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.5111, allocations: 7.234 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.5111, allocations: 7.969 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.5114, allocations: 103.6 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.5114, allocations: 0.6094 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5114, allocations: 0 / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.5114, allocations: 0 / 0.8201 GB, free: 15.55 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.0004871/0.5119, allocations: 280.6 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.5119, allocations: 9.062 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.512, allocations: 36.28 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.5123, allocations: 38.39 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.755e-05/0.5124, allocations: 106.8 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5124, allocations: 384 / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.5124, allocations: 4.484 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.5126, allocations: 72.98 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5127, allocations: 3.938 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.5127, allocations: 3.938 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5127, allocations: 1.812 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.5128, allocations: 55.55 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.5132, allocations: 236.2 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.5133, allocations: 63.14 kB / 0.821 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.407e-05/0.5134, allocations: 34.86 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.5134, allocations: 1.734 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.5134, allocations: 34.05 kB / 0.8211 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5134, allocations: 0 / 0.8211 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003156/0.5137, allocations: 118 kB / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.5138, allocations: 53.11 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.5138, allocations: 107.2 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.5138, allocations: 25.7 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.5139, allocations: 80.89 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.5139, allocations: 7.422 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.5139, allocations: 19.28 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.514, allocations: 312.4 kB / 0.8218 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.5141, allocations: 28.64 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.5142, allocations: 28.02 kB / 0.8218 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.5143, allocations: 53.28 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5143, allocations: 3.938 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.5145, allocations: 94.95 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5145, allocations: 4.656 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5145, allocations: 0 / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5145, allocations: 2.25 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.5146, allocations: 15.53 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5146, allocations: 4.031 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.5147, allocations: 11.53 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5147, allocations: 0 / 0.822 GB, free: 13.93 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 6.745e-05/0.5147, allocations: 111.1 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.5147, allocations: 3.688 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.5148, allocations: 14.92 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5148, allocations: 11.92 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5148, allocations: 0 / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5148, allocations: 4 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.5149, allocations: 129.7 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.5149, allocations: 0 / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.515, allocations: 15.28 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.515, allocations: 0.6562 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.515, allocations: 0.75 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.515, allocations: 0 / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.515, allocations: 0.7031 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.5152, allocations: 200.3 kB / 0.8225 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.5152, allocations: 3.438 kB / 0.8225 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.5152, allocations: 0.8438 kB / 0.8225 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/0.5153, allocations: 6.453 kB / 0.8225 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.5153, allocations: 3.109 kB / 0.8225 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.5153, allocations: 5.703 kB / 0.8225 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.688e-05/0.5153, allocations: 83.86 kB / 0.8226 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5153, allocations: 4.031 kB / 0.8226 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001707/0.5155, allocations: 12.5 kB / 0.8226 GB, free: 13.38 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.0004362/0.5159, allocations: 0.7224 MB / 0.8233 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.5161, allocations: 62.81 kB / 0.8234 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5161, allocations: 0 / 0.8234 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.5162, allocations: 29.64 kB / 0.8234 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5165, allocations: 8.25 kB / 0.8234 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.5169, allocations: 173.9 kB / 0.8236 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.5169, allocations: 59.72 kB / 0.8236 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.517, allocations: 7.516 kB / 0.8236 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.517, allocations: 11.2 kB / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.517, allocations: 0 / 0.8236 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.5341, allocations: 2.214 MB / 0.8258 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/7.28, allocations: 7.828 kB / 0.8258 GB, free: 11.56 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.206865871790797] Failed to read output from testmodel.py, exit status != 0: 7.361033890862018 7.373211209 6.859602359 Calling exit ...