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.000847/0.0008473, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009398/0.0009402, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.956/0.956, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004504, allocations: 9.156 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.192, allocations: 82.32 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004926/0.197, allocations: 4.2 MB / 0.5915 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.1997, allocations: 2.49 MB / 0.5939 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1998, allocations: 0 / 0.5939 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.2001, allocations: 35.8 kB / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.2004, allocations: 87.48 kB / 0.594 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.2016, allocations: 409.5 kB / 0.5944 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.2019, allocations: 255.9 kB / 0.5947 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/0.202, allocations: 17.55 kB / 0.5947 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.2022, allocations: 123.5 kB / 0.5948 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2023, allocations: 83.72 kB / 0.5949 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.2024, allocations: 8 kB / 0.5949 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006023/0.203, allocations: 259.4 kB / 0.5951 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.203, allocations: 39.89 kB / 0.5952 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.2031, allocations: 53.64 kB / 0.5952 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.2035, allocations: 223.7 kB / 0.5954 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.2035, allocations: 0 / 0.5954 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.086e-06/0.2035, allocations: 0 / 0.5954 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.453e-06/0.2035, allocations: 4 kB / 0.5954 GB, free: 10.71 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.0007401/0.2043, allocations: 471.1 kB / 0.5959 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2043, allocations: 12.03 kB / 0.5959 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2045, allocations: 19.81 kB / 0.5959 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.2047, allocations: 218.7 kB / 0.5961 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.2047, allocations: 12.33 kB / 0.5961 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.2047, allocations: 16 kB / 0.5961 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.2051, allocations: 236.2 kB / 0.5964 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2051, allocations: 0 / 0.5964 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2052, allocations: 11.94 kB / 0.5964 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.2052, allocations: 7.938 kB / 0.5964 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.2056, allocations: 435.5 kB / 0.5968 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2067, allocations: 0.9488 MB / 0.5977 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.207, allocations: 151.1 kB / 0.5979 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.2071, allocations: 64.83 kB / 0.5979 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.2085, allocations: 1.821 MB / 0.5997 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.2086, allocations: 50.5 kB / 0.5998 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.2086, allocations: 0 / 0.5998 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000329/0.2089, allocations: 137.4 kB / 0.5999 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.209, allocations: 55.41 kB / 0.5999 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.2091, allocations: 170.5 kB / 0.6001 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2092, allocations: 29.7 kB / 0.6001 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.2092, allocations: 143.8 kB / 0.6003 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.2093, allocations: 51.3 kB / 0.6003 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.2093, allocations: 4 kB / 0.6003 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2094, allocations: 334.8 kB / 0.6006 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.2095, allocations: 31.98 kB / 0.6007 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2096, allocations: 139.2 kB / 0.6008 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.2097, allocations: 51.94 kB / 0.6009 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2098, allocations: 4 kB / 0.6009 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003022/0.2101, allocations: 220.2 kB / 0.6011 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2101, allocations: 11.95 kB / 0.6011 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2101, allocations: 4 kB / 0.6011 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2101, allocations: 4 kB / 0.6011 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.2103, allocations: 51.92 kB / 0.6011 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2103, allocations: 7.938 kB / 0.6011 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2104, allocations: 39.61 kB / 0.6012 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.2105, allocations: 12 kB / 0.6012 GB, free: 4.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.2106, allocations: 129.9 kB / 0.6013 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.2106, allocations: 15.81 kB / 0.6013 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.2109, allocations: 162.9 kB / 0.6015 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.211, allocations: 4 kB / 0.6015 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.211, allocations: 7.922 kB / 0.6015 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.211, allocations: 0 / 0.6015 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.2112, allocations: 213.5 kB / 0.6017 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2112, allocations: 4 kB / 0.6017 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.397e-05/0.2113, allocations: 23.98 kB / 0.6017 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2113, allocations: 4 kB / 0.6017 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2113, allocations: 8 kB / 0.6017 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2113, allocations: 3.953 kB / 0.6017 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2113, allocations: 0 / 0.6017 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2116, allocations: 219.2 kB / 0.602 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.2117, allocations: 108.8 kB / 0.6021 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.2117, allocations: 8 kB / 0.6021 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.2119, allocations: 19.98 kB / 0.6021 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.2119, allocations: 15.94 kB / 0.6021 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.2119, allocations: 15.98 kB / 0.6021 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.55e-05/0.212, allocations: 112.7 kB / 0.6022 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.212, allocations: 0 / 0.6022 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003822/0.2124, allocations: 87.92 kB / 0.6023 GB, free: 2.883 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/0.2127, allocations: 155.2 kB / 0.6025 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.2129, allocations: 118.9 kB / 0.6026 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2129, allocations: 3.938 kB / 0.6026 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.607e-05/0.213, allocations: 48.8 kB / 0.6026 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.2135, allocations: 51.95 kB / 0.6027 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.2142, allocations: 423.8 kB / 0.6031 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2145, allocations: 0.7094 MB / 0.6038 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.2147, allocations: 49.84 kB / 0.6038 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.2147, allocations: 23.44 kB / 0.6038 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2147, allocations: 4 kB / 0.6038 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.3154/0.5302, allocations: 3.161 MB / 0.6069 GB, free: 48.89 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)