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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008073/0.0008073, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005908/0.005908, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9817/0.9817, allocations: 135.3 MB / 426.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004148, allocations: 16.61 kB / 0.5076 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 82.31 MB / 0.588 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005431/0.1971, allocations: 4.361 MB / 0.5922 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002958/0.2001, allocations: 2.683 MB / 0.5948 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.2002, allocations: 0 / 0.5948 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.2005, allocations: 35.81 kB / 0.5949 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.2008, allocations: 95.42 kB / 0.595 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.2023, allocations: 464.9 kB / 0.5954 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.2026, allocations: 311.8 kB / 0.5957 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.2027, allocations: 13.56 kB / 0.5957 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.2029, allocations: 111.6 kB / 0.5958 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.2031, allocations: 95.59 kB / 0.5959 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.2031, allocations: 8 kB / 0.5959 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000656/0.2038, allocations: 371.2 kB / 0.5963 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.2038, allocations: 35.89 kB / 0.5963 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.204, allocations: 105.3 kB / 0.5964 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.2045, allocations: 363.3 kB / 0.5968 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2045, allocations: 4 kB / 0.5968 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2045, allocations: 3.938 kB / 0.5968 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2045, allocations: 0 / 0.5968 GB, free: 9.594 MB / 0.4981 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.0007158/0.2053, allocations: 471.3 kB / 0.5972 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2053, allocations: 12.03 kB / 0.5972 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.2055, allocations: 20.75 kB / 0.5972 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.2057, allocations: 208.1 kB / 0.5974 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2057, allocations: 16.7 kB / 0.5975 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.2057, allocations: 12.38 kB / 0.5975 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.2061, allocations: 252.2 kB / 0.5977 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2061, allocations: 0 / 0.5977 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.2062, allocations: 8 kB / 0.5977 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.2062, allocations: 4 kB / 0.5977 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.2067, allocations: 431.5 kB / 0.5981 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.2079, allocations: 0.9526 MB / 0.5991 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.2081, allocations: 166.3 kB / 0.5992 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2082, allocations: 56.84 kB / 0.5993 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.2097, allocations: 1.825 MB / 0.6011 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2097, allocations: 42.55 kB / 0.6011 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.2097, allocations: 0 / 0.6011 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003294/0.2101, allocations: 145.1 kB / 0.6012 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2101, allocations: 55.34 kB / 0.6013 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.2103, allocations: 174.5 kB / 0.6015 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.2103, allocations: 29.7 kB / 0.6015 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.2104, allocations: 143.8 kB / 0.6016 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.2105, allocations: 55.2 kB / 0.6017 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.2105, allocations: 29.7 kB / 0.6017 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2106, allocations: 326.8 kB / 0.602 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.2107, allocations: 31.98 kB / 0.602 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2108, allocations: 143.2 kB / 0.6022 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.2111, allocations: 193.5 kB / 0.6024 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2111, allocations: 4 kB / 0.6024 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003124/0.2114, allocations: 205.2 kB / 0.6026 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2114, allocations: 14.28 kB / 0.6026 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2115, allocations: 11.94 kB / 0.6026 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2115, allocations: 4 kB / 0.6026 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.2117, allocations: 59.84 kB / 0.6026 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.2117, allocations: 8 kB / 0.6027 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.2118, allocations: 27.69 kB / 0.6027 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.2118, allocations: 12 kB / 0.6027 GB, free: 2.789 MB / 0.4981 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.0001102/0.2119, allocations: 138.4 kB / 0.6028 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.212, allocations: 15.81 kB / 0.6028 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.2123, allocations: 166.2 kB / 0.603 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.2123, allocations: 3.938 kB / 0.603 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2123, allocations: 0 / 0.603 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2123, allocations: 0 / 0.603 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.2126, allocations: 217.5 kB / 0.6032 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2126, allocations: 4 kB / 0.6032 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.2127, allocations: 19.98 kB / 0.6032 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2127, allocations: 4 kB / 0.6032 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2127, allocations: 4 kB / 0.6032 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2127, allocations: 3.938 kB / 0.6032 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2127, allocations: 4 kB / 0.6032 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.213, allocations: 231.2 kB / 0.6035 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.2131, allocations: 104.9 kB / 0.6036 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.2131, allocations: 0 / 0.6036 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.2133, allocations: 27.91 kB / 0.6036 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.2134, allocations: 15.98 kB / 0.6036 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.2134, allocations: 8 kB / 0.6036 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.724e-05/0.2135, allocations: 120.6 kB / 0.6037 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2135, allocations: 0 / 0.6037 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003922/0.2139, allocations: 79.94 kB / 0.6038 GB, free: 1.547 MB / 0.4981 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.0003525/0.2142, allocations: 183 kB / 0.604 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.2145, allocations: 111.8 kB / 0.6041 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2145, allocations: 0 / 0.6041 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.367e-05/0.2146, allocations: 47.91 kB / 0.6041 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.215, allocations: 51.72 kB / 0.6042 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.2157, allocations: 433.5 kB / 0.6046 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2692/0.4849, allocations: 0.7181 MB / 0.6053 GB, free: 49.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000249/0.4852, allocations: 37.52 kB / 0.6053 GB, free: 49.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.4853, allocations: 27.27 kB / 0.6054 GB, free: 49.58 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/0.4853, allocations: 0 / 0.6054 GB, free: 49.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.006034/0.4913, allocations: 3.287 MB / 0.6086 GB, free: 49.41 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)