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.007481/0.007481, allocations: 96.89 kB / 15.73 MB, free: 6.496 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.001702/0.001703, allocations: 192.1 kB / 16.67 MB, free: 6.391 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9966/0.9966, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 0.5857 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4961, allocations: 80.91 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006204/0.5024, allocations: 4.726 MB / 0.6693 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.5048, allocations: 2.691 MB / 0.6719 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.5049, allocations: 1.312 kB / 0.6719 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.5052, allocations: 51.3 kB / 0.672 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.5056, allocations: 98.78 kB / 0.6721 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.5068, allocations: 0.4994 MB / 0.6725 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.5071, allocations: 236.6 kB / 0.6728 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.5071, allocations: 13.02 kB / 0.6728 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.5073, allocations: 117.4 kB / 0.6729 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.5075, allocations: 94.03 kB / 0.673 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.5075, allocations: 7.656 kB / 0.673 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006595/0.5082, allocations: 363.7 kB / 0.6733 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.5082, allocations: 43.08 kB / 0.6734 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.5083, allocations: 84.3 kB / 0.6735 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.5089, allocations: 352.7 kB / 0.6738 GB, free: 396 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5089, allocations: 0 / 0.6738 GB, free: 396 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5089, allocations: 5.062 kB / 0.6738 GB, free: 392 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.509, allocations: 4 kB / 0.6738 GB, free: 388 kB / 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.0007022/0.5097, allocations: 0.5091 MB / 0.6743 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5097, allocations: 10 kB / 0.6743 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.5099, allocations: 21.53 kB / 0.6743 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.5102, allocations: 212.8 kB / 0.6745 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.5102, allocations: 11.61 kB / 0.6745 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.5102, allocations: 18.62 kB / 0.6746 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.5106, allocations: 250.2 kB / 0.6748 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.5107, allocations: 3.938 kB / 0.6748 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.5107, allocations: 7.312 kB / 0.6748 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.5107, allocations: 17.5 kB / 0.6748 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.5113, allocations: 428.8 kB / 0.6752 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.5125, allocations: 0.9491 MB / 0.6762 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.5128, allocations: 162.8 kB / 0.6763 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.5129, allocations: 62.14 kB / 0.6764 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/0.5145, allocations: 1.835 MB / 0.6782 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.5145, allocations: 42.09 kB / 0.6782 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.5145, allocations: 0 / 0.6782 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003731/0.5149, allocations: 142.9 kB / 0.6784 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.515, allocations: 65.55 kB / 0.6784 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.5151, allocations: 163.8 kB / 0.6786 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.5152, allocations: 31.7 kB / 0.6786 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.5153, allocations: 147.1 kB / 0.6787 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.5153, allocations: 55.56 kB / 0.6788 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.5154, allocations: 52.12 kB / 0.6788 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5156, allocations: 322.5 kB / 0.6792 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.5156, allocations: 37.78 kB / 0.6792 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.5158, allocations: 138.4 kB / 0.6793 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.5161, allocations: 201.7 kB / 0.6795 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5161, allocations: 1.438 kB / 0.6795 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003741/0.5165, allocations: 224.4 kB / 0.6797 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5165, allocations: 6.656 kB / 0.6797 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5165, allocations: 3.094 kB / 0.6797 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.5165, allocations: 5.594 kB / 0.6797 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.5167, allocations: 53.77 kB / 0.6798 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5168, allocations: 16.36 kB / 0.6798 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.5169, allocations: 28.69 kB / 0.6798 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.5169, allocations: 14.56 kB / 0.6798 GB, free: 10.67 MB / 0.5137 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.0001253/0.517, allocations: 127.2 kB / 0.68 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.5171, allocations: 16.81 kB / 0.68 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.5174, allocations: 153 kB / 0.6801 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5174, allocations: 5.281 kB / 0.6801 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5175, allocations: 5.234 kB / 0.6801 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5175, allocations: 4 kB / 0.6801 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.5178, allocations: 213.6 kB / 0.6803 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5178, allocations: 0 / 0.6803 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.5179, allocations: 31.58 kB / 0.6804 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5179, allocations: 1.531 kB / 0.6804 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5179, allocations: 1.375 kB / 0.6804 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5179, allocations: 5.188 kB / 0.6804 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5179, allocations: 3.984 kB / 0.6804 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.5182, allocations: 223.5 kB / 0.6806 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5183, allocations: 109.8 kB / 0.6807 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.5183, allocations: 5.156 kB / 0.6807 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.5185, allocations: 15.77 kB / 0.6807 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.5186, allocations: 17.61 kB / 0.6807 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.5186, allocations: 10.58 kB / 0.6808 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.658e-05/0.5187, allocations: 123 kB / 0.6809 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5187, allocations: 1.875 kB / 0.6809 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004367/0.5192, allocations: 76.25 kB / 0.6809 GB, free: 9.742 MB / 0.5137 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.0003789/0.5195, allocations: 181.3 kB / 0.6811 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.5198, allocations: 121 kB / 0.6812 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5199, allocations: 1.281 kB / 0.6812 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.5199, allocations: 48.58 kB / 0.6813 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.5204, allocations: 59.52 kB / 0.6813 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007312/0.5211, allocations: 340.4 kB / 0.6817 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.5214, allocations: 0.7123 MB / 0.6824 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.5216, allocations: 42.38 kB / 0.6824 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.5217, allocations: 24.91 kB / 0.6824 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.5217, allocations: 0 / 0.6824 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of Templates: time 0.007926/0.5296, allocations: 3.427 MB / 0.6858 GB, free: 6.816 MB / 0.5137 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)