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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01067/0.01067, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7979/0.7979, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 223.2 MB / 406.9 MB, free: 3.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 92.89 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.000379, allocations: 8 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5204, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8676/1.388, allocations: 340.5 MB / 0.982 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.388, allocations: 70.83 kB / 0.982 GB, free: 488 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03097/1.419, allocations: 13.39 MB / 0.9951 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.047e-06/1.419, allocations: 0 / 0.9951 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.419, allocations: 3.938 kB / 0.9951 GB, free: 5.84 MB / 0.6355 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.0004343/1.42, allocations: 350.2 kB / 0.9954 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.42, allocations: 8.031 kB / 0.9954 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/1.42, allocations: 7.906 kB / 0.9954 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/1.42, allocations: 171 kB / 0.9956 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/1.42, allocations: 0 / 0.9956 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/1.42, allocations: 7.312 kB / 0.9956 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/1.42, allocations: 49.3 kB / 0.9957 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/1.42, allocations: 3.938 kB / 0.9957 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/1.42, allocations: 7.812 kB / 0.9957 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.42, allocations: 0 / 0.9957 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.915e-05/1.421, allocations: 15.92 kB / 0.9957 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/1.421, allocations: 168.4 kB / 0.9959 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/1.421, allocations: 57 kB / 0.9959 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007713/1.422, allocations: 0.5888 MB / 0.9965 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/1.422, allocations: 34.55 kB / 0.9965 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/1.422, allocations: 0 / 0.9965 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006402/1.422, allocations: 312.8 kB / 0.9968 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/1.422, allocations: 55.41 kB / 0.9969 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/1.422, allocations: 89 kB / 0.997 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/1.422, allocations: 28.95 kB / 0.997 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/1.423, allocations: 91.97 kB / 0.9971 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/1.423, allocations: 31.06 kB / 0.9971 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/1.423, allocations: 3.562 kB / 0.9971 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.423, allocations: 318.8 kB / 0.9974 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.639e-05/1.423, allocations: 11.75 kB / 0.9974 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.331e-05/1.423, allocations: 52.27 kB / 0.9975 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.129e-05/1.423, allocations: 19.06 kB / 0.9975 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.423, allocations: 7.938 kB / 0.9975 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001301/1.423, allocations: 92.47 kB / 0.9976 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.423, allocations: 4 kB / 0.9976 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.423, allocations: 4.125 kB / 0.9976 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/1.423, allocations: 7.922 kB / 0.9976 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/1.423, allocations: 27.94 kB / 0.9976 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/1.423, allocations: 3.984 kB / 0.9976 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/1.423, allocations: 4 kB / 0.9976 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/1.423, allocations: 8.125 kB / 0.9976 GB, free: 2.973 MB / 0.6355 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.88e-05/1.423, allocations: 113.1 kB / 0.9977 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/1.423, allocations: 11.22 kB / 0.9978 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/1.423, allocations: 7.344 kB / 0.9978 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.423, allocations: 3.984 kB / 0.9978 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.423, allocations: 7.953 kB / 0.9978 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.423, allocations: 0 / 0.9978 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.424, allocations: 169.3 kB / 0.9979 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.424, allocations: 0 / 0.9979 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/1.424, allocations: 19.75 kB / 0.998 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.424, allocations: 0 / 0.998 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-06/1.424, allocations: 0 / 0.998 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.424, allocations: 4 kB / 0.998 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/1.424, allocations: 0 / 0.998 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/1.424, allocations: 170.4 kB / 0.9981 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/1.424, allocations: 89.05 kB / 0.9982 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/1.424, allocations: 3.75 kB / 0.9982 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/1.424, allocations: 4 kB / 0.9982 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/1.424, allocations: 4 kB / 0.9982 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/1.424, allocations: 3.984 kB / 0.9982 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.296e-05/1.424, allocations: 82.53 kB / 0.9983 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/1.424, allocations: 0 / 0.9983 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002261/1.424, allocations: 19.52 kB / 0.9983 GB, free: 2.219 MB / 0.6355 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.000173/1.425, allocations: 120.2 kB / 0.9984 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001124/1.425, allocations: 43.05 kB / 0.9985 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.425, allocations: 0 / 0.9985 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/1.425, allocations: 19.69 kB / 0.9985 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/1.425, allocations: 10.09 kB / 0.9985 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/1.426, allocations: 397.7 kB / 0.9989 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/1.426, allocations: 0.6848 MB / 0.9995 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.579e-05/1.426, allocations: 8 kB / 0.9996 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/1.426, allocations: 11.44 kB / 0.9996 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/1.426, allocations: 0 / 0.9996 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of Templates: time 0.003062/1.429, allocations: 0.8472 MB / 1 GB, free: 68 kB / 0.6355 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)