Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.0009338, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001044/0.001044, allocations: 172.7 kB / 15.95 MB, free: 208 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.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9944/0.9944, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 8.875 kB / 0.507 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 82.31 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001351/0.193, allocations: 0.9666 MB / 0.5883 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003749/0.1967, allocations: 3.05 MB / 0.5913 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.1968, allocations: 7.875 kB / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.1968, allocations: 0 / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.153e-05/0.1969, allocations: 0 / 0.5913 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1974, allocations: 87.61 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.1975, allocations: 31.86 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.1975, allocations: 4 kB / 0.5914 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.1976, allocations: 27.91 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.1976, allocations: 11.98 kB / 0.5914 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1977, allocations: 0 / 0.5914 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.1979, allocations: 55.83 kB / 0.5915 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.1979, allocations: 4 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.1979, allocations: 33.64 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1981, allocations: 44.22 kB / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1981, allocations: 0 / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1981, allocations: 0 / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1981, allocations: 0 / 0.5916 GB, free: 14.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003911/0.1985, allocations: 339.3 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1985, allocations: 8.031 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.1986, allocations: 7.984 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1988, allocations: 171 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1988, allocations: 4 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1988, allocations: 4 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.199, allocations: 53.67 kB / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.199, allocations: 3.984 kB / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.199, allocations: 0 / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.199, allocations: 4 kB / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.1991, allocations: 23.92 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.1993, allocations: 177.5 kB / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.395e-05/0.1994, allocations: 54.48 kB / 0.5924 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.1994, allocations: 16.86 kB / 0.5924 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007254/0.2001, allocations: 0.5949 MB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2002, allocations: 34.5 kB / 0.593 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.2002, allocations: 0 / 0.593 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000581/0.2008, allocations: 302.6 kB / 0.5933 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.2008, allocations: 55.41 kB / 0.5934 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.2009, allocations: 109.8 kB / 0.5935 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2009, allocations: 25.7 kB / 0.5935 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.2009, allocations: 84.14 kB / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.201, allocations: 31.55 kB / 0.5936 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.201, allocations: 0 / 0.5936 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.2011, allocations: 318.8 kB / 0.5939 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.2011, allocations: 4 kB / 0.5939 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.2012, allocations: 57.14 kB / 0.594 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.2012, allocations: 23.92 kB / 0.594 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2012, allocations: 0 / 0.594 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001334/0.2014, allocations: 93.55 kB / 0.5941 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2014, allocations: 8 kB / 0.5941 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2014, allocations: 4.125 kB / 0.5941 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2014, allocations: 7.953 kB / 0.5941 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.2015, allocations: 16 kB / 0.5941 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2015, allocations: 0 / 0.5941 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.2016, allocations: 4 kB / 0.5941 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2016, allocations: 15.92 kB / 0.5941 GB, free: 11.67 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 7.619e-05/0.2017, allocations: 117.8 kB / 0.5942 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.2017, allocations: 3.906 kB / 0.5942 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.2017, allocations: 7.969 kB / 0.5943 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2017, allocations: 11.95 kB / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2017, allocations: 0 / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2018, allocations: 0 / 0.5943 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.202, allocations: 173.7 kB / 0.5944 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.202, allocations: 0 / 0.5944 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.2021, allocations: 16.27 kB / 0.5944 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2021, allocations: 0 / 0.5944 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.2021, allocations: 4 kB / 0.5945 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2021, allocations: 0 / 0.5945 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2021, allocations: 3.953 kB / 0.5945 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.2023, allocations: 183.4 kB / 0.5946 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.2024, allocations: 85.02 kB / 0.5947 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.2024, allocations: 0 / 0.5947 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.702e-05/0.2025, allocations: 8.031 kB / 0.5947 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.2025, allocations: 0 / 0.5947 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2025, allocations: 11.95 kB / 0.5947 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.2025, allocations: 75.28 kB / 0.5948 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2025, allocations: 0 / 0.5948 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00024/0.2028, allocations: 20 kB / 0.5948 GB, free: 10.87 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0001192/0.2029, allocations: 99.23 kB / 0.5949 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.203, allocations: 47.84 kB / 0.595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2031, allocations: 4 kB / 0.595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.2031, allocations: 8 kB / 0.595 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2034, allocations: 11.77 kB / 0.595 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.2039, allocations: 398.6 kB / 0.5954 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2042, allocations: 0.6809 MB / 0.596 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.511e-05/0.2042, allocations: 8 kB / 0.596 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.2043, allocations: 11.44 kB / 0.596 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2043, allocations: 0 / 0.596 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of Templates: time 0.002865/0.2072, allocations: 0.5733 MB / 0.5966 GB, free: 8.977 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)