Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001077/0.001077, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007924/0.0007924, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8801/0.8801, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.6944/0.6944, allocations: 154.5 MB / 414.5 MB, free: 0.8555 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.003e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001568/0.001588, allocations: 1.435 MB / 0.6207 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003354/0.001923, allocations: 207.5 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.814e-05/0.001951, allocations: 0 / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.001977, allocations: 0 / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.00201, allocations: 3.938 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.002203, allocations: 39.77 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.958e-05/0.002263, allocations: 19.94 kB / 0.6209 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.002342, allocations: 7.984 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.539e-05/0.002388, allocations: 19.91 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.002426, allocations: 8 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.00244, allocations: 4 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.002509, allocations: 27.97 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.002522, allocations: 0 / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.002537, allocations: 8 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.002884, allocations: 51.75 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.002886, allocations: 4 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002887, allocations: 0 / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.00289, allocations: 0 / 0.621 GB, free: 11.38 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.0002997/0.003189, allocations: 270.2 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.003221, allocations: 9.469 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.003333, allocations: 8.938 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.691e-05/0.0034, allocations: 109.7 kB / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.003408, allocations: 384 / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.003417, allocations: 4.375 kB / 0.6214 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.003527, allocations: 54.23 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.003533, allocations: 192 / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.00354, allocations: 384 / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.003544, allocations: 384 / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.003633, allocations: 35.91 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.003877, allocations: 200.5 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.003947, allocations: 34.56 kB / 0.6217 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.003989, allocations: 24.89 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.004, allocations: 0 / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.004018, allocations: 38.56 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.004018, allocations: 0 / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.004216, allocations: 85.52 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.004242, allocations: 51.41 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.004293, allocations: 97.86 kB / 0.622 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.0043, allocations: 29.83 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.004331, allocations: 88.08 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.004348, allocations: 15.92 kB / 0.6221 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.00437, allocations: 9.719 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.00444, allocations: 314.8 kB / 0.6225 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.004478, allocations: 15.98 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.004511, allocations: 15.97 kB / 0.6225 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.68e-05/0.004588, allocations: 40.89 kB / 0.6225 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.004589, allocations: 0 / 0.6225 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.333e-05/0.004683, allocations: 73.59 kB / 0.6226 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.004692, allocations: 4 kB / 0.6226 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004697, allocations: 3.938 kB / 0.6226 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.004706, allocations: 0 / 0.6226 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.004754, allocations: 11.98 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.004758, allocations: 4.031 kB / 0.6226 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.00478, allocations: 4 kB / 0.6226 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.004784, allocations: 0 / 0.6226 GB, free: 9.586 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 4.967e-05/0.004834, allocations: 118.8 kB / 0.6227 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.004844, allocations: 0 / 0.6227 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.004983, allocations: 84.8 kB / 0.6228 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.004985, allocations: 0 / 0.6228 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.004989, allocations: 4.234 kB / 0.6228 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.004992, allocations: 0 / 0.6228 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.34e-05/0.005075, allocations: 113.3 kB / 0.6229 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005076, allocations: 3.984 kB / 0.6229 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.005103, allocations: 11.98 kB / 0.6229 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005104, allocations: 0 / 0.6229 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.00511, allocations: 0 / 0.6229 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005112, allocations: 3.938 kB / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005113, allocations: 0 / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.005236, allocations: 167.5 kB / 0.6231 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.005241, allocations: 0 / 0.6231 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.005251, allocations: 3.984 kB / 0.6231 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.00529, allocations: 11.94 kB / 0.6231 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.005323, allocations: 7.984 kB / 0.6231 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.005325, allocations: 3.938 kB / 0.6231 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.483e-05/0.00535, allocations: 79.28 kB / 0.6232 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00535, allocations: 3.938 kB / 0.6232 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001451/0.005495, allocations: 4 kB / 0.6232 GB, free: 8.91 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 (3): * Single equations (assignments): 3 * 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 6.671e-05/0.005562, allocations: 107.2 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.00568, allocations: 35.95 kB / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.005682, allocations: 0 / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.005721, allocations: 15.98 kB / 0.6234 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.005901, allocations: 11.98 kB / 0.6234 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.006148, allocations: 138.5 kB / 0.6235 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.006191, allocations: 63.41 kB / 0.6236 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.006217, allocations: 12.5 kB / 0.6236 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.006217, allocations: 0 / 0.6236 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of Templates: time 0.001391/0.007608, allocations: 0.6003 MB / 0.6242 GB, free: 7.875 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0821312591433525] Failed to read output from testmodel.py, exit status != 0: 0.011744381859898567 0.020732626 0.016194235 Calling exit ...