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.00139/0.00139, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001689/0.001689, allocations: 165.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.516/1.516, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.247/1.247, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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.883e-06/1.883e-06, allocations: 0 / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.427e-05, allocations: 6.531 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002668/0.002703, allocations: 1.273 MB / 0.6197 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004615/0.007318, allocations: 2.775 MB / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.449e-05/0.007352, allocations: 0 / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.007379, allocations: 0 / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.618e-05/0.007435, allocations: 0 / 0.6224 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.008081, allocations: 107.4 kB / 0.6225 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.008195, allocations: 43.83 kB / 0.6226 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.008236, allocations: 0 / 0.6226 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006796/0.008916, allocations: 195.4 kB / 0.6228 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.008966, allocations: 19.91 kB / 0.6228 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.008984, allocations: 4 kB / 0.6228 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.009134, allocations: 51.83 kB / 0.6228 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.009152, allocations: 4 kB / 0.6228 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.009188, allocations: 19.91 kB / 0.6229 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.009399, allocations: 59.86 kB / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.009402, allocations: 0 / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.183e-06/0.009403, allocations: 0 / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.009417, allocations: 0 / 0.6229 GB, free: 96 kB / 0.5294 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.0005879/0.01, allocations: 274.3 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.01006, allocations: 13.47 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.0101, allocations: 4.922 kB / 0.6232 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.01023, allocations: 113.8 kB / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.01024, allocations: 384 / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.01028, allocations: 8.328 kB / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.01052, allocations: 135.3 kB / 0.6234 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01053, allocations: 192 / 0.6234 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.01054, allocations: 4.125 kB / 0.6234 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.01055, allocations: 7.938 kB / 0.6234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.01061, allocations: 23.97 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.01081, allocations: 105.3 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.01093, allocations: 50.62 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.01098, allocations: 20.84 kB / 0.6236 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006924/0.01167, allocations: 241.7 kB / 0.6239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.01171, allocations: 42.5 kB / 0.6239 GB, free: 14.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.01171, allocations: 0 / 0.6239 GB, free: 14.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000656/0.01236, allocations: 213.2 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.01241, allocations: 55.64 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.01252, allocations: 109.8 kB / 0.6243 GB, free: 14.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01254, allocations: 25.7 kB / 0.6243 GB, free: 14.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.01262, allocations: 88.08 kB / 0.6244 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.01266, allocations: 31.73 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.0127, allocations: 25.72 kB / 0.6244 GB, free: 14.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.01288, allocations: 318.8 kB / 0.6247 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-05/0.01291, allocations: 12 kB / 0.6247 GB, free: 13.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.01298, allocations: 57.08 kB / 0.6248 GB, free: 13.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.01309, allocations: 77.02 kB / 0.6249 GB, free: 13.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.01309, allocations: 4 kB / 0.6249 GB, free: 13.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001672/0.01326, allocations: 93.73 kB / 0.625 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.01328, allocations: 6.188 kB / 0.625 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01328, allocations: 4 kB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.0133, allocations: 3.984 kB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.01338, allocations: 23.98 kB / 0.625 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.01339, allocations: 7.938 kB / 0.625 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.01343, allocations: 8.109 kB / 0.625 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.01344, allocations: 4 kB / 0.625 GB, free: 13.66 MB / 0.545 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 0.000126/0.01356, allocations: 118.8 kB / 0.6251 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.01359, allocations: 4 kB / 0.6251 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.01362, allocations: 8.125 kB / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01362, allocations: 448 / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01363, allocations: 0 / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01363, allocations: 4 kB / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.01386, allocations: 121.2 kB / 0.6253 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01386, allocations: 0 / 0.6253 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/0.01395, allocations: 27.92 kB / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01395, allocations: 0 / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.01396, allocations: 4 kB / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01396, allocations: 0 / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01396, allocations: 0 / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.01421, allocations: 179.4 kB / 0.6255 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.01424, allocations: 4 kB / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.01425, allocations: 0 / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.01436, allocations: 8.031 kB / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.01439, allocations: 3.938 kB / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.0144, allocations: 8 kB / 0.6255 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.289e-05/0.01446, allocations: 83.27 kB / 0.6256 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01446, allocations: 0 / 0.6256 GB, free: 13.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002442/0.01471, allocations: 12 kB / 0.6256 GB, free: 13.03 MB / 0.545 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 0.0002265/0.01493, allocations: 103.2 kB / 0.6257 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.0151, allocations: 39.92 kB / 0.6257 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.0151, allocations: 0 / 0.6257 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.01513, allocations: 16.23 kB / 0.6257 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.01556, allocations: 18.67 kB / 0.6258 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.01621, allocations: 249 kB / 0.626 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.617e-05/0.01629, allocations: 71.28 kB / 0.6261 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.701e-05/0.01634, allocations: 11.94 kB / 0.6261 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.01638, allocations: 12.5 kB / 0.6261 GB, free: 12.47 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.01638, allocations: 0 / 0.6261 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Templates: time 0.003803/0.02018, allocations: 0.6219 MB / 0.6267 GB, free: 11.86 MB / 0.545 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: 6.0848192274570465] Failed to read output from testmodel.py, exit status != 0: 0.029086071997880936 0.044965559 0.032198192 Calling exit ...