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.0008918/0.0008918, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009029/0.0009029, allocations: 177.3 kB / 15.95 MB, free: 216 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.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8413/0.8413, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.000284, allocations: 12 kB / 0.5068 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 82.31 MB / 0.5872 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001306/0.1485, allocations: 0.9666 MB / 0.5881 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.152, allocations: 2.828 MB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.1521, allocations: 0 / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.1521, allocations: 0 / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-05/0.1522, allocations: 3.984 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.1527, allocations: 95.69 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.117e-05/0.1528, allocations: 23.97 kB / 0.591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.1528, allocations: 7.984 kB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.1529, allocations: 23.86 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.153, allocations: 15.92 kB / 0.5911 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.153, allocations: 0 / 0.5911 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.1532, allocations: 59.95 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.1532, allocations: 11.92 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.1533, allocations: 33.64 kB / 0.5912 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.1534, allocations: 36.23 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1534, allocations: 0 / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1534, allocations: 4 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.1534, allocations: 0 / 0.5912 GB, free: 15.04 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.0003715/0.1538, allocations: 339.3 kB / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1539, allocations: 8.031 kB / 0.5915 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.154, allocations: 7.984 kB / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1541, allocations: 167 kB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1541, allocations: 8 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1541, allocations: 4 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1543, allocations: 61.61 kB / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1543, allocations: 0 / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1543, allocations: 0 / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.1544, allocations: 0 / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.909e-05/0.1544, allocations: 19.98 kB / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.1546, allocations: 173.5 kB / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.1547, allocations: 46.56 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/0.1554, allocations: 0.5949 MB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1554, allocations: 30.56 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1554, allocations: 0 / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000597/0.156, allocations: 302.1 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1561, allocations: 63.33 kB / 0.5929 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.1562, allocations: 97.86 kB / 0.593 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1562, allocations: 29.7 kB / 0.5931 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.1563, allocations: 84.14 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.1563, allocations: 31.55 kB / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.1563, allocations: 0 / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1564, allocations: 310.8 kB / 0.5935 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.1565, allocations: 15.98 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.1565, allocations: 61.08 kB / 0.5936 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.1566, allocations: 20 kB / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1566, allocations: 0 / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001329/0.1567, allocations: 97.55 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1567, allocations: 8.031 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1568, allocations: 4 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1568, allocations: 7.891 kB / 0.5937 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.1569, allocations: 19.98 kB / 0.5937 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1569, allocations: 7.938 kB / 0.5937 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.1569, allocations: 288 / 0.5937 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1569, allocations: 8 kB / 0.5937 GB, free: 12.07 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 8.556e-05/0.157, allocations: 112.2 kB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.157, allocations: 8 kB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.1571, allocations: 15.95 kB / 0.5938 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1571, allocations: 3.953 kB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1571, allocations: 0 / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1571, allocations: 7.984 kB / 0.5939 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.1573, allocations: 165.7 kB / 0.594 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1574, allocations: 4 kB / 0.594 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.1575, allocations: 19.92 kB / 0.594 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1575, allocations: 0 / 0.594 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1575, allocations: 0 / 0.594 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1575, allocations: 4.375 kB / 0.594 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1575, allocations: 7.953 kB / 0.5941 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1577, allocations: 175.5 kB / 0.5942 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.543e-05/0.1577, allocations: 81.11 kB / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.1578, allocations: 12.03 kB / 0.5943 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.1579, allocations: 0 / 0.5943 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.1579, allocations: 4 kB / 0.5943 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1579, allocations: 3.953 kB / 0.5943 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.158, allocations: 91.27 kB / 0.5944 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.158, allocations: 0 / 0.5944 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002288/0.1582, allocations: 12 kB / 0.5944 GB, free: 11.27 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.0001286/0.1583, allocations: 103.2 kB / 0.5945 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.1584, allocations: 43.91 kB / 0.5946 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1584, allocations: 0 / 0.5946 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.1585, allocations: 16.23 kB / 0.5946 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.1587, allocations: 12 kB / 0.5946 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.1592, allocations: 378.8 kB / 0.5949 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1596, allocations: 0.6887 MB / 0.5956 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.189e-05/0.1596, allocations: 4 kB / 0.5956 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.1597, allocations: 11.44 kB / 0.5956 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of SimCode: time 1.683e-06/0.1597, allocations: 0 / 0.5956 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.003078/0.1627, allocations: 0.5586 MB / 0.5962 GB, free: 9.395 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: