Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.0008294/0.0008294, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008808/0.0008808, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8812/0.8812, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7106/0.7106, allocations: 154.5 MB / 414.5 MB, free: 0.8516 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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.078e-05, allocations: 3.156 kB / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001464/0.001484, allocations: 1.274 MB / 0.6205 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.003927, allocations: 2.759 MB / 0.6232 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.003953, allocations: 0 / 0.6232 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.00397, allocations: 0 / 0.6232 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.564e-05/0.004016, allocations: 11.88 kB / 0.6232 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.004462, allocations: 103.5 kB / 0.6233 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.733e-05/0.004539, allocations: 35.86 kB / 0.6233 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.004576, allocations: 4 kB / 0.6233 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.00497, allocations: 191.3 kB / 0.6235 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.659e-05/0.005006, allocations: 15.97 kB / 0.6235 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.00502, allocations: 0 / 0.6235 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.005118, allocations: 59.83 kB / 0.6236 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.005131, allocations: 7.984 kB / 0.6236 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.005151, allocations: 8 kB / 0.6236 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.005293, allocations: 67.78 kB / 0.6236 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005295, allocations: 0 / 0.6236 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005296, allocations: 0 / 0.6236 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.0053, allocations: 3.938 kB / 0.6237 GB, free: 8.711 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003529/0.005653, allocations: 278.3 kB / 0.6239 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.005692, allocations: 9.469 kB / 0.6239 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.005731, allocations: 12.88 kB / 0.6239 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.33e-05/0.005804, allocations: 109.7 kB / 0.624 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.005816, allocations: 4.375 kB / 0.624 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.00584, allocations: 8.375 kB / 0.6241 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.005987, allocations: 127.3 kB / 0.6242 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005994, allocations: 192 / 0.6242 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.006008, allocations: 8.125 kB / 0.6242 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.006013, allocations: 0 / 0.6242 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.006056, allocations: 15.98 kB / 0.6242 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.006178, allocations: 121.2 kB / 0.6243 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.006251, allocations: 46.5 kB / 0.6244 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.006277, allocations: 20.84 kB / 0.6244 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/0.006733, allocations: 245.8 kB / 0.6246 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.006754, allocations: 30.56 kB / 0.6246 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.006755, allocations: 0 / 0.6246 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004538/0.007209, allocations: 225.9 kB / 0.6249 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.007237, allocations: 51.41 kB / 0.6249 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.779e-05/0.007295, allocations: 101.8 kB / 0.625 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002888/0.007584, allocations: 29.7 kB / 0.625 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.00762, allocations: 88.09 kB / 0.6251 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.007635, allocations: 35.73 kB / 0.6252 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.007664, allocations: 21.72 kB / 0.6252 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.007735, allocations: 318.8 kB / 0.6255 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.007756, allocations: 15.98 kB / 0.6255 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.007795, allocations: 55.33 kB / 0.6255 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.007862, allocations: 77.2 kB / 0.6256 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.007864, allocations: 0 / 0.6256 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.21e-05/0.007956, allocations: 101.5 kB / 0.6257 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.007967, allocations: 8 kB / 0.6257 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.007972, allocations: 0 / 0.6257 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.007984, allocations: 4 kB / 0.6257 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.008037, allocations: 23.92 kB / 0.6257 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.008042, allocations: 0 / 0.6257 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.008061, allocations: 4 kB / 0.6258 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.008067, allocations: 4.078 kB / 0.6258 GB, free: 6.285 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.549e-05/0.008123, allocations: 118.9 kB / 0.6259 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.008136, allocations: 4 kB / 0.6259 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.008158, allocations: 16.11 kB / 0.6259 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.008159, allocations: 3.938 kB / 0.6259 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.008163, allocations: 0 / 0.6259 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.008165, allocations: 0 / 0.6259 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.008295, allocations: 133.1 kB / 0.626 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.008296, allocations: 0 / 0.626 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.008339, allocations: 15.98 kB / 0.626 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.008342, allocations: 4 kB / 0.626 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.008348, allocations: 0 / 0.626 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.008349, allocations: 7.984 kB / 0.626 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.00835, allocations: 0 / 0.626 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.008484, allocations: 179.5 kB / 0.6262 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.008503, allocations: 3.953 kB / 0.6262 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.008514, allocations: 4 kB / 0.6262 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.357e-05/0.008568, allocations: 4 kB / 0.6262 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.008583, allocations: 11.92 kB / 0.6262 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.008587, allocations: 0 / 0.6262 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.406e-05/0.008611, allocations: 79.28 kB / 0.6263 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008612, allocations: 0 / 0.6263 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001512/0.008763, allocations: 16 kB / 0.6263 GB, free: 5.641 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 8.647e-05/0.008849, allocations: 103.2 kB / 0.6264 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.408e-05/0.008933, allocations: 39.92 kB / 0.6265 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.008935, allocations: 0 / 0.6265 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-05/0.008949, allocations: 15.94 kB / 0.6265 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.009128, allocations: 7.938 kB / 0.6265 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.009498, allocations: 283 kB / 0.6268 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.00954, allocations: 71.33 kB / 0.6268 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.009564, allocations: 12.5 kB / 0.6268 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of SimCode: time 4.6e-07/0.009565, allocations: 0 / 0.6268 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of Templates: time 0.001548/0.01111, allocations: 0.8102 MB / 0.6276 GB, free: 4.246 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.252025650814176] Failed to read output from testmodel.py, exit status != 0: 0.015876044519245625 0.024166993 0.017228028 Calling exit ...