Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001588/0.001588, allocations: 106.1 kB / 16.41 MB, free: 6.508 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.001746/0.001746, allocations: 187 kB / 17.34 MB, free: 5.742 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7659/0.7659, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.02 kB / 0.582 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.14, allocations: 80.2 MB / 0.6603 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002175/0.1422, allocations: 1.264 MB / 0.6615 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.1458, allocations: 3.259 MB / 0.6647 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.1459, allocations: 4 kB / 0.6647 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.1459, allocations: 3.938 kB / 0.6647 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.146, allocations: 7.922 kB / 0.6647 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.1465, allocations: 111.5 kB / 0.6648 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.1466, allocations: 31.91 kB / 0.6649 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.1466, allocations: 4 kB / 0.6649 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.169e-05/0.1467, allocations: 19.92 kB / 0.6649 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.1467, allocations: 19.92 kB / 0.6649 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1467, allocations: 0 / 0.6649 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.147, allocations: 83.8 kB / 0.665 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.147, allocations: 7.984 kB / 0.665 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.147, allocations: 19.92 kB / 0.665 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1472, allocations: 71.8 kB / 0.6651 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1472, allocations: 0 / 0.6651 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1472, allocations: 0 / 0.6651 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.1472, allocations: 0 / 0.6651 GB, free: 5.496 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.0004004/0.1476, allocations: 343.6 kB / 0.6654 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1477, allocations: 8.031 kB / 0.6654 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1478, allocations: 16.77 kB / 0.6654 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1479, allocations: 172.3 kB / 0.6656 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1479, allocations: 384 / 0.6656 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.148, allocations: 8.375 kB / 0.6656 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1481, allocations: 61.72 kB / 0.6657 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1481, allocations: 0 / 0.6657 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1481, allocations: 0 / 0.6657 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1481, allocations: 4 kB / 0.6657 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.943e-05/0.1482, allocations: 19.98 kB / 0.6657 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.1484, allocations: 165.7 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.1485, allocations: 54.5 kB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.1485, allocations: 12.84 kB / 0.6659 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00067/0.1492, allocations: 0.5948 MB / 0.6665 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1492, allocations: 38.56 kB / 0.6665 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1492, allocations: 4 kB / 0.6665 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005715/0.1498, allocations: 298.7 kB / 0.6668 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1498, allocations: 55.34 kB / 0.6669 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.1499, allocations: 101.8 kB / 0.667 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1499, allocations: 29.7 kB / 0.667 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.15, allocations: 92.05 kB / 0.6671 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.15, allocations: 27.55 kB / 0.6671 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.1501, allocations: 21.72 kB / 0.6671 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.1502, allocations: 322.8 kB / 0.6674 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.1502, allocations: 15.98 kB / 0.6674 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.1503, allocations: 53.14 kB / 0.6675 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.93e-05/0.1504, allocations: 65.09 kB / 0.6676 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1504, allocations: 0 / 0.6676 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001341/0.1505, allocations: 105.8 kB / 0.6677 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1505, allocations: 4 kB / 0.6677 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1505, allocations: 7.969 kB / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1506, allocations: 4 kB / 0.6677 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.1506, allocations: 19.94 kB / 0.6677 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1506, allocations: 4 kB / 0.6677 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.1507, allocations: 3.938 kB / 0.6677 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1507, allocations: 8 kB / 0.6677 GB, free: 2.387 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 9.923e-05/0.1508, allocations: 121.9 kB / 0.6678 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1509, allocations: 7.906 kB / 0.6678 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.1509, allocations: 11.97 kB / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1509, allocations: 0 / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1509, allocations: 0 / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1509, allocations: 3.938 kB / 0.6678 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.1512, allocations: 177.7 kB / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1512, allocations: 0 / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.444e-05/0.1513, allocations: 12 kB / 0.668 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1513, allocations: 7.984 kB / 0.668 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1513, allocations: 4 kB / 0.668 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1513, allocations: 4 kB / 0.668 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1513, allocations: 0 / 0.668 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.1515, allocations: 171.4 kB / 0.6682 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.1515, allocations: 85.05 kB / 0.6683 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1516, allocations: 0 / 0.6683 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1517, allocations: 4 kB / 0.6683 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.1517, allocations: 7.984 kB / 0.6683 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1517, allocations: 7.938 kB / 0.6683 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.1518, allocations: 83.28 kB / 0.6684 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1518, allocations: 0 / 0.6684 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000238/0.152, allocations: 12 kB / 0.6684 GB, free: 1.586 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.0001121/0.1521, allocations: 95.25 kB / 0.6685 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1522, allocations: 47.91 kB / 0.6685 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1523, allocations: 256 / 0.6685 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.422e-05/0.1523, allocations: 23.92 kB / 0.6686 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1526, allocations: 12 kB / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.1532, allocations: 338.5 kB / 0.6689 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1534, allocations: 0.6884 MB / 0.6696 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.1534, allocations: 11.44 kB / 0.6696 GB, free: 320 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1535, allocations: 0 / 0.6696 GB, free: 320 kB / 0.4981 GB Notification: Performance of Templates: time 0.002091/0.1555, allocations: 0.7847 MB / 0.6703 GB, free: 15.53 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)