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.000799/0.000799, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9259/0.9259, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003089, allocations: 9.844 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 82.31 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001204/0.1426, allocations: 0.9822 MB / 0.5896 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.1459, allocations: 3.196 MB / 0.5927 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.146, allocations: 0 / 0.5927 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.146, allocations: 3.984 kB / 0.5927 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.146, allocations: 0 / 0.5927 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.1465, allocations: 103.6 kB / 0.5928 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.1465, allocations: 35.8 kB / 0.5928 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.1466, allocations: 4 kB / 0.5928 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.1466, allocations: 19.92 kB / 0.5928 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.1467, allocations: 23.91 kB / 0.5929 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.1467, allocations: 0 / 0.5929 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.1469, allocations: 67.81 kB / 0.5929 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.1469, allocations: 11.98 kB / 0.5929 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.147, allocations: 45.62 kB / 0.593 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.1471, allocations: 36.23 kB / 0.593 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1471, allocations: 4 kB / 0.593 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1471, allocations: 3.938 kB / 0.593 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.1471, allocations: 0 / 0.593 GB, free: 14.08 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.0003252/0.1475, allocations: 339.4 kB / 0.5934 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1475, allocations: 12.03 kB / 0.5934 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.244e-05/0.1476, allocations: 4.938 kB / 0.5934 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.993e-05/0.1477, allocations: 164.3 kB / 0.5935 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1477, allocations: 4.375 kB / 0.5935 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1477, allocations: 8.375 kB / 0.5935 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1479, allocations: 69.75 kB / 0.5936 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1479, allocations: 0 / 0.5936 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1479, allocations: 7.938 kB / 0.5936 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1479, allocations: 0 / 0.5936 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.148, allocations: 23.91 kB / 0.5936 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.1481, allocations: 161.6 kB / 0.5938 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.1482, allocations: 50.56 kB / 0.5938 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.1483, allocations: 24.84 kB / 0.5939 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/0.1489, allocations: 0.5949 MB / 0.5944 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1489, allocations: 34.56 kB / 0.5945 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1489, allocations: 0 / 0.5945 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005222/0.1495, allocations: 302.2 kB / 0.5948 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.1495, allocations: 59.39 kB / 0.5948 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.209e-05/0.1496, allocations: 101.8 kB / 0.5949 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1496, allocations: 25.7 kB / 0.5949 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.1497, allocations: 84.14 kB / 0.595 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1497, allocations: 31.55 kB / 0.5951 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.1497, allocations: 13.72 kB / 0.5951 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.1498, allocations: 322.8 kB / 0.5954 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.1498, allocations: 16 kB / 0.5954 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.1499, allocations: 49.14 kB / 0.5954 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.608e-05/0.15, allocations: 81.02 kB / 0.5955 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.15, allocations: 0 / 0.5955 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/0.1502, allocations: 93.55 kB / 0.5956 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1502, allocations: 4 kB / 0.5956 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1502, allocations: 7.938 kB / 0.5956 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1502, allocations: 3.938 kB / 0.5956 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.1503, allocations: 16 kB / 0.5956 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1503, allocations: 8.109 kB / 0.5956 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.1503, allocations: 7.938 kB / 0.5956 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1504, allocations: 8 kB / 0.5957 GB, free: 10.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/0.1504, allocations: 117.8 kB / 0.5958 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.1505, allocations: 7.906 kB / 0.5958 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.1505, allocations: 8.25 kB / 0.5958 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1505, allocations: 0 / 0.5958 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1505, allocations: 3.984 kB / 0.5958 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1505, allocations: 7.938 kB / 0.5958 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1507, allocations: 177.7 kB / 0.596 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1508, allocations: 0 / 0.596 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.749e-05/0.1508, allocations: 15.98 kB / 0.596 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1509, allocations: 0 / 0.596 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1509, allocations: 0 / 0.596 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1509, allocations: 0 / 0.596 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1509, allocations: 4 kB / 0.596 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.151, allocations: 179.3 kB / 0.5962 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.1511, allocations: 81.11 kB / 0.5962 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1511, allocations: 4 kB / 0.5962 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1512, allocations: 4.469 kB / 0.5962 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.1513, allocations: 4 kB / 0.5962 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1513, allocations: 11.94 kB / 0.5963 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.861e-05/0.1513, allocations: 75.28 kB / 0.5963 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1513, allocations: 0 / 0.5963 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002279/0.1515, allocations: 12 kB / 0.5963 GB, free: 10.19 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 (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.0001143/0.1517, allocations: 107.2 kB / 0.5964 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.521e-05/0.1518, allocations: 43.92 kB / 0.5965 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1518, allocations: 0 / 0.5965 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.1518, allocations: 15.92 kB / 0.5965 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1521, allocations: 8 kB / 0.5965 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.1526, allocations: 420.6 kB / 0.5969 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1529, allocations: 0.6848 MB / 0.5976 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.1529, allocations: 11.44 kB / 0.5976 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1529, allocations: 0 / 0.5976 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of Templates: time 0.001861/0.1548, allocations: 0.7733 MB / 0.5983 GB, free: 8.062 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)