Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.002411/0.002411, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 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.002944/0.002944, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 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-535:34: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-535:42: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.325/1.325, allocations: 154.8 MB / 414.4 MB, free: 400 kB / 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 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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.481e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.008104/0.008139, allocations: 4.83 MB / 0.5246 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.01216, allocations: 2.816 MB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.01227, allocations: 0.9062 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.01262, allocations: 47.62 kB / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.01299, allocations: 101.4 kB / 0.5275 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.0145, allocations: 0.5259 MB / 0.528 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.01485, allocations: 244.7 kB / 0.5282 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.0149, allocations: 13.81 kB / 0.5282 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.0152, allocations: 152.2 kB / 0.5284 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.01537, allocations: 76.56 kB / 0.5285 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.01541, allocations: 8 kB / 0.5285 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.01616, allocations: 321.9 kB / 0.5288 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.01627, allocations: 43.81 kB / 0.5288 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.01637, allocations: 63.89 kB / 0.5289 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008435/0.01721, allocations: 378.8 kB / 0.5292 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.01722, allocations: 4 kB / 0.5292 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01722, allocations: 0 / 0.5292 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.01722, allocations: 0 / 0.5292 GB, free: 8.66 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.00104/0.01826, allocations: 0.5299 MB / 0.5298 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.01831, allocations: 12.03 kB / 0.5298 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.01853, allocations: 44.66 kB / 0.5298 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.01883, allocations: 172.3 kB / 0.53 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.01885, allocations: 8.703 kB / 0.53 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.01889, allocations: 20.38 kB / 0.53 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.01946, allocations: 438.2 kB / 0.5304 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.01947, allocations: 4.188 kB / 0.5304 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.0195, allocations: 9.938 kB / 0.5304 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.01954, allocations: 11.98 kB / 0.5305 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.02006, allocations: 335.5 kB / 0.5308 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.02145, allocations: 0.998 MB / 0.5317 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.02185, allocations: 159.2 kB / 0.5319 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.02197, allocations: 55.66 kB / 0.532 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009192/0.02289, allocations: 0.5426 MB / 0.5325 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.02294, allocations: 45.38 kB / 0.5325 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.02294, allocations: 3.594 kB / 0.5325 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.000386/0.02332, allocations: 139.6 kB / 0.5327 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.02337, allocations: 55.41 kB / 0.5327 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.0236, allocations: 217.8 kB / 0.5329 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.02363, allocations: 29.7 kB / 0.533 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.02379, allocations: 194.8 kB / 0.5331 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.02385, allocations: 59.53 kB / 0.5332 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.02394, allocations: 55.36 kB / 0.5332 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002945/0.02424, allocations: 0.5 MB / 0.5337 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.02431, allocations: 30.83 kB / 0.5338 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.02455, allocations: 194.8 kB / 0.534 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.02487, allocations: 239.3 kB / 0.5342 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02488, allocations: 0.5 kB / 0.5342 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003949/0.02527, allocations: 229.1 kB / 0.5344 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.02529, allocations: 4 kB / 0.5344 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.0253, allocations: 8 kB / 0.5344 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.02532, allocations: 5.188 kB / 0.5344 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.02554, allocations: 63.91 kB / 0.5345 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.02555, allocations: 4 kB / 0.5345 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.02566, allocations: 25.02 kB / 0.5345 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.02568, allocations: 16 kB / 0.5345 GB, free: 2.832 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001696/0.02585, allocations: 181.3 kB / 0.5347 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.02592, allocations: 23.84 kB / 0.5347 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.02627, allocations: 152.3 kB / 0.5349 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.02628, allocations: 0.7188 kB / 0.5349 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.02628, allocations: 0 / 0.5349 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.02629, allocations: 0.5312 kB / 0.5349 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.02656, allocations: 174.5 kB / 0.535 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02656, allocations: 3.938 kB / 0.535 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.02668, allocations: 27.98 kB / 0.5351 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.02669, allocations: 4 kB / 0.5351 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.0267, allocations: 0 / 0.5351 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.0267, allocations: 5 kB / 0.5351 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.0267, allocations: 0 / 0.5351 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.02705, allocations: 275.7 kB / 0.5353 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.02714, allocations: 37.66 kB / 0.5354 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.02716, allocations: 0 / 0.5354 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.02734, allocations: 12 kB / 0.5354 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.02738, allocations: 11.97 kB / 0.5354 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.0274, allocations: 8 kB / 0.5354 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001302/0.02753, allocations: 160.3 kB / 0.5355 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02753, allocations: 0 / 0.5355 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004159/0.02795, allocations: 79.88 kB / 0.5356 GB, free: 1.641 MB / 0.4948 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005307/0.02848, allocations: 181.4 kB / 0.5358 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.02877, allocations: 129.3 kB / 0.5359 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.02877, allocations: 4 kB / 0.5359 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.031e-05/0.02886, allocations: 47.66 kB / 0.536 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.0293, allocations: 54.23 kB / 0.536 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007814/0.03008, allocations: 318.2 kB / 0.5363 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.0302, allocations: 100.2 kB / 0.5364 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.03037, allocations: 46.66 kB / 0.5365 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.03042, allocations: 20.5 kB / 0.5365 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.03042, allocations: 5.125 kB / 0.5365 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of Templates: time 0.008486/0.03891, allocations: 3.153 MB / 0.5396 GB, free: 13.75 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.371802560985088]