Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3098/0.3098, allocations: 55.01 MB / 69.95 MB, free: 8.66 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001717/0.001717, allocations: 191.3 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.812/1.812, allocations: 194.4 MB / 292.3 MB, free: 3.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001706/0.001706, allocations: 121 kB / 350.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 8 kB / 418.9 MB, free: 37.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 57.66 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.179/1.335, allocations: 309.5 MB / 0.7676 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/1.335, allocations: 67.91 kB / 0.7677 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02546/1.361, allocations: 12.37 MB / 0.7798 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/1.361, allocations: 0 / 0.7798 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.361, allocations: 0 / 0.7798 GB, free: 108.9 MB / 0.4948 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.0004012/1.361, allocations: 347.4 kB / 0.7801 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/1.361, allocations: 12.03 kB / 0.7801 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/1.362, allocations: 11.81 kB / 0.7801 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/1.362, allocations: 167 kB / 0.7803 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/1.362, allocations: 3.938 kB / 0.7803 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/1.362, allocations: 4 kB / 0.7803 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/1.362, allocations: 56.88 kB / 0.7804 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.362, allocations: 0 / 0.7804 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/1.362, allocations: 4 kB / 0.7804 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.362, allocations: 4 kB / 0.7804 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.504e-05/1.362, allocations: 15.42 kB / 0.7804 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/1.362, allocations: 168.3 kB / 0.7805 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.59e-05/1.362, allocations: 57.55 kB / 0.7806 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/1.363, allocations: 0.5925 MB / 0.7812 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/1.363, allocations: 34.55 kB / 0.7812 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/1.363, allocations: 4 kB / 0.7812 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000618/1.364, allocations: 295 kB / 0.7815 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/1.364, allocations: 55.41 kB / 0.7815 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/1.364, allocations: 96.39 kB / 0.7816 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/1.364, allocations: 33.64 kB / 0.7817 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/1.364, allocations: 80.14 kB / 0.7817 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/1.364, allocations: 38.67 kB / 0.7818 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.364, allocations: 4 kB / 0.7818 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/1.364, allocations: 318.3 kB / 0.7821 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/1.364, allocations: 15.92 kB / 0.7821 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/1.364, allocations: 53.25 kB / 0.7822 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/1.364, allocations: 23.56 kB / 0.7822 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/1.364, allocations: 0 / 0.7822 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001099/1.364, allocations: 91.48 kB / 0.7823 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.364, allocations: 6.031 kB / 0.7823 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.364, allocations: 4 kB / 0.7823 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.364, allocations: 0 / 0.7823 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/1.364, allocations: 27.86 kB / 0.7823 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.364, allocations: 4 kB / 0.7823 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/1.364, allocations: 4.125 kB / 0.7823 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/1.364, allocations: 7.5 kB / 0.7823 GB, free: 106.1 MB / 0.4948 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.271e-05/1.365, allocations: 117.3 kB / 0.7824 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/1.365, allocations: 7.906 kB / 0.7824 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/1.365, allocations: 7.656 kB / 0.7824 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.365, allocations: 0 / 0.7824 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.365, allocations: 3.984 kB / 0.7824 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.365, allocations: 4 kB / 0.7825 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/1.365, allocations: 173.4 kB / 0.7826 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.365, allocations: 7.938 kB / 0.7826 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.089e-05/1.365, allocations: 15.56 kB / 0.7826 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.365, allocations: 0 / 0.7826 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/1.365, allocations: 448 / 0.7826 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.365, allocations: 0 / 0.7826 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.365, allocations: 4 kB / 0.7826 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/1.365, allocations: 178.1 kB / 0.7828 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/1.365, allocations: 85.09 kB / 0.7829 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/1.365, allocations: 11.69 kB / 0.7829 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/1.365, allocations: 0 / 0.7829 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/1.365, allocations: 7.938 kB / 0.7829 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/1.365, allocations: 3.984 kB / 0.7829 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.983e-05/1.365, allocations: 83.09 kB / 0.783 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/1.365, allocations: 0 / 0.783 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002294/1.366, allocations: 15.75 kB / 0.783 GB, free: 105.3 MB / 0.4948 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.0001818/1.366, allocations: 115.7 kB / 0.7831 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001252/1.366, allocations: 43.61 kB / 0.7832 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.366, allocations: 256 / 0.7832 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/1.366, allocations: 19.92 kB / 0.7832 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/1.366, allocations: 7.688 kB / 0.7832 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/1.367, allocations: 386.8 kB / 0.7836 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/1.367, allocations: 0.6848 MB / 0.7842 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.721e-05/1.367, allocations: 15.84 kB / 0.7842 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/1.367, allocations: 15.38 kB / 0.7843 GB, free: 104 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/1.367, allocations: 0 / 0.7843 GB, free: 104 MB / 0.4948 GB Notification: Performance of Templates: time 0.003509/1.371, allocations: 0.8417 MB / 0.7851 GB, free: 103.2 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe 2>&1)