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.0008359/0.0008358, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000889/0.0008891, allocations: 168.7 kB / 15.95 MB, free: 204 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.152/1.152, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6707/0.6707, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002891, allocations: 8.719 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3218, allocations: 81.57 MB / 0.5831 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.0009164/0.3228, allocations: 0.9827 MB / 0.584 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.3252, allocations: 3.051 MB / 0.587 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.3253, allocations: 1.219 kB / 0.587 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.3253, allocations: 1.359 kB / 0.587 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.375e-05/0.3253, allocations: 9.75 kB / 0.587 GB, free: 1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.3257, allocations: 80.38 kB / 0.5871 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.3257, allocations: 35.94 kB / 0.5871 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.327e-05/0.3258, allocations: 6.969 kB / 0.5871 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.3258, allocations: 12.28 kB / 0.5871 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.3259, allocations: 18.11 kB / 0.5872 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3259, allocations: 5.797 kB / 0.5872 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.326, allocations: 53.5 kB / 0.5872 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.3261, allocations: 10.98 kB / 0.5872 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.3261, allocations: 30.05 kB / 0.5873 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.325e-05/0.3262, allocations: 36.33 kB / 0.5873 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3262, allocations: 0.5938 kB / 0.5873 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3262, allocations: 0 / 0.5873 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3262, allocations: 0.5625 kB / 0.5873 GB, free: 0.8594 MB / 430.1 MB 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.0002346/0.3264, allocations: 341.1 kB / 0.5876 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.3265, allocations: 9.812 kB / 0.5876 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.3266, allocations: 12.75 kB / 0.5876 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.995e-05/0.3266, allocations: 164.5 kB / 0.5878 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3266, allocations: 6.406 kB / 0.5878 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.3267, allocations: 4.156 kB / 0.5878 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3268, allocations: 56.7 kB / 0.5879 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.3268, allocations: 0.7812 kB / 0.5879 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3268, allocations: 0.6562 kB / 0.5879 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3268, allocations: 0.7812 kB / 0.5879 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.3269, allocations: 23.77 kB / 0.5879 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.327, allocations: 167.7 kB / 0.588 GB, free: 36 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.327, allocations: 52.38 kB / 0.5881 GB, free: 0 / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.3271, allocations: 18.14 kB / 0.5881 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/0.3277, allocations: 0.6005 MB / 0.5887 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3277, allocations: 40.2 kB / 0.5887 GB, free: 15.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.3277, allocations: 0 / 0.5887 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000489/0.3282, allocations: 298.8 kB / 0.589 GB, free: 15.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.3283, allocations: 53.84 kB / 0.5891 GB, free: 14.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.3283, allocations: 99.55 kB / 0.5892 GB, free: 14.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3284, allocations: 26.7 kB / 0.5892 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.3284, allocations: 94.56 kB / 0.5893 GB, free: 14.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3284, allocations: 28.89 kB / 0.5893 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.3284, allocations: 0.875 kB / 0.5893 GB, free: 14.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3286, allocations: 314.9 kB / 0.5896 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.3286, allocations: 13 kB / 0.5896 GB, free: 14.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/0.3287, allocations: 55.81 kB / 0.5897 GB, free: 14.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.3287, allocations: 20.09 kB / 0.5897 GB, free: 14.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3287, allocations: 0 / 0.5897 GB, free: 14.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001388/0.3288, allocations: 101.8 kB / 0.5898 GB, free: 14.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.3289, allocations: 13.44 kB / 0.5898 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3289, allocations: 2.016 kB / 0.5898 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.3289, allocations: 2.031 kB / 0.5898 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.862e-05/0.329, allocations: 23.23 kB / 0.5898 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.329, allocations: 2.531 kB / 0.5898 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.329, allocations: 1.75 kB / 0.5898 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.329, allocations: 8.406 kB / 0.5898 GB, free: 14.24 MB / 446.1 MB 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 6.265e-05/0.3291, allocations: 113.6 kB / 0.59 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3291, allocations: 10.84 kB / 0.59 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.3292, allocations: 9.516 kB / 0.59 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3292, allocations: 2.25 kB / 0.59 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3292, allocations: 4 kB / 0.59 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3292, allocations: 4.703 kB / 0.59 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.3294, allocations: 169.5 kB / 0.5901 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3294, allocations: 0.6562 kB / 0.5901 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.3295, allocations: 14.48 kB / 0.5902 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3295, allocations: 0.7188 kB / 0.5902 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3295, allocations: 5.422 kB / 0.5902 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3295, allocations: 0.75 kB / 0.5902 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3295, allocations: 1.188 kB / 0.5902 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.3297, allocations: 179.4 kB / 0.5903 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.3297, allocations: 85.02 kB / 0.5904 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3297, allocations: 1.453 kB / 0.5904 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.3298, allocations: 12.52 kB / 0.5904 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.3299, allocations: 3.922 kB / 0.5904 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3299, allocations: 2.609 kB / 0.5904 GB, free: 13.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.813e-05/0.3299, allocations: 86.52 kB / 0.5905 GB, free: 13.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3299, allocations: 0 / 0.5905 GB, free: 13.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000215/0.3301, allocations: 10.75 kB / 0.5905 GB, free: 13.57 MB / 446.1 MB 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 9.368e-05/0.3302, allocations: 112 kB / 0.5906 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.784e-05/0.3303, allocations: 41.2 kB / 0.5907 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3304, allocations: 1.188 kB / 0.5907 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.3304, allocations: 16.86 kB / 0.5907 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.3306, allocations: 10.55 kB / 0.5907 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.3312, allocations: 394.1 kB / 0.5911 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3314, allocations: 0.683 MB / 0.5917 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.117e-05/0.3315, allocations: 9.062 kB / 0.5918 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.3315, allocations: 12.53 kB / 0.5918 GB, free: 12.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3315, allocations: 0 / 0.5918 GB, free: 12.44 MB / 446.1 MB Notification: Performance of Templates: time 0.002454/0.334, allocations: 0.5565 MB / 0.5923 GB, free: 12.37 MB / 446.1 MB 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)