Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001011/0.001011, allocations: 104.8 kB / 16.27 MB, free: 6.414 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.0009729/0.0009728, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.812/0.812, allocations: 132.2 MB / 423.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 59.89 kB / 0.5024 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3615, allocations: 80.19 MB / 0.5807 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.0053/0.3669, allocations: 4.723 MB / 0.5853 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.3692, allocations: 2.702 MB / 0.588 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3693, allocations: 2.438 kB / 0.588 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.3696, allocations: 46.75 kB / 0.588 GB, free: 21.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.3699, allocations: 101.2 kB / 0.5881 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.371, allocations: 0.4965 MB / 0.5886 GB, free: 20.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3713, allocations: 235 kB / 0.5888 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.3713, allocations: 9.938 kB / 0.5888 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.3715, allocations: 117.8 kB / 0.5889 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.3717, allocations: 92.88 kB / 0.589 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.3717, allocations: 7.812 kB / 0.589 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006934/0.3724, allocations: 364.3 kB / 0.5894 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.3725, allocations: 38.39 kB / 0.5894 GB, free: 20.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.3726, allocations: 79.33 kB / 0.5895 GB, free: 20.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.3731, allocations: 354.8 kB / 0.5898 GB, free: 20.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3732, allocations: 0 / 0.5898 GB, free: 20.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3732, allocations: 0 / 0.5898 GB, free: 20.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3732, allocations: 0 / 0.5898 GB, free: 20.16 MB / 446.1 MB 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.0006672/0.3738, allocations: 0.5035 MB / 0.5903 GB, free: 19.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3739, allocations: 14.47 kB / 0.5903 GB, free: 19.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3741, allocations: 21.78 kB / 0.5904 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.3743, allocations: 218.2 kB / 0.5906 GB, free: 19.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.3743, allocations: 9.953 kB / 0.5906 GB, free: 19.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.3743, allocations: 16.25 kB / 0.5906 GB, free: 19.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.3747, allocations: 252.1 kB / 0.5908 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3747, allocations: 1.125 kB / 0.5908 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.3747, allocations: 14.14 kB / 0.5909 GB, free: 19.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.3748, allocations: 5.438 kB / 0.5909 GB, free: 19.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.3752, allocations: 431.2 kB / 0.5913 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009832/0.3762, allocations: 0.9467 MB / 0.5922 GB, free: 18.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3765, allocations: 156.5 kB / 0.5923 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3766, allocations: 63.31 kB / 0.5924 GB, free: 18.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009805/0.3776, allocations: 1.826 MB / 0.5942 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3777, allocations: 43.45 kB / 0.5942 GB, free: 15.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3777, allocations: 4 kB / 0.5942 GB, free: 15.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003048/0.378, allocations: 141.5 kB / 0.5944 GB, free: 15.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.378, allocations: 59.34 kB / 0.5944 GB, free: 15.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3781, allocations: 177.1 kB / 0.5946 GB, free: 15.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.3782, allocations: 33.7 kB / 0.5946 GB, free: 15.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.3782, allocations: 135.8 kB / 0.5948 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.3783, allocations: 55.28 kB / 0.5948 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.3783, allocations: 53.61 kB / 0.5949 GB, free: 15.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.3784, allocations: 326.8 kB / 0.5952 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.3784, allocations: 31.98 kB / 0.5952 GB, free: 14.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.754e-05/0.3785, allocations: 146.5 kB / 0.5953 GB, free: 14.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.3787, allocations: 201.9 kB / 0.5955 GB, free: 14.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3787, allocations: 0 / 0.5955 GB, free: 14.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002638/0.379, allocations: 212.4 kB / 0.5957 GB, free: 14.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.379, allocations: 4 kB / 0.5957 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.379, allocations: 7.984 kB / 0.5957 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3791, allocations: 5.375 kB / 0.5958 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3792, allocations: 59.86 kB / 0.5958 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3792, allocations: 11.92 kB / 0.5958 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.3793, allocations: 24.34 kB / 0.5958 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3794, allocations: 16 kB / 0.5959 GB, free: 14.05 MB / 446.1 MB 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 8.303e-05/0.3795, allocations: 139.7 kB / 0.596 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.3795, allocations: 15.84 kB / 0.596 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.3798, allocations: 159.8 kB / 0.5962 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3798, allocations: 3.938 kB / 0.5962 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3798, allocations: 0 / 0.5962 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3798, allocations: 3.984 kB / 0.5962 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.38, allocations: 209.6 kB / 0.5964 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.38, allocations: 1.125 kB / 0.5964 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.993e-05/0.3801, allocations: 31.92 kB / 0.5964 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3801, allocations: 4 kB / 0.5964 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.3801, allocations: 1.031 kB / 0.5964 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3801, allocations: 3.938 kB / 0.5964 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3801, allocations: 2.562 kB / 0.5964 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3803, allocations: 223.3 kB / 0.5966 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.3804, allocations: 108.8 kB / 0.5967 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3804, allocations: 0 / 0.5967 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3806, allocations: 20.45 kB / 0.5967 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.3807, allocations: 9.578 kB / 0.5968 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3807, allocations: 15.98 kB / 0.5968 GB, free: 13.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.153e-05/0.3807, allocations: 128.8 kB / 0.5969 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3807, allocations: 0 / 0.5969 GB, free: 12.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.3811, allocations: 78.31 kB / 0.597 GB, free: 12.83 MB / 446.1 MB 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.0003239/0.3815, allocations: 172.1 kB / 0.5971 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.3817, allocations: 133.4 kB / 0.5973 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3817, allocations: 0.5 kB / 0.5973 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.3818, allocations: 47.91 kB / 0.5973 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.3822, allocations: 51.89 kB / 0.5974 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.3828, allocations: 374.2 kB / 0.5977 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.383, allocations: 0.7158 MB / 0.5984 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.383, allocations: 31.42 kB / 0.5984 GB, free: 11.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.383, allocations: 0 / 0.5984 GB, free: 11.28 MB / 446.1 MB Notification: Performance of Templates: time 0.00424/0.3873, allocations: 3.154 MB / 0.6015 GB, free: 8.164 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)