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.001111/0.001111, allocations: 116.4 kB / 16.37 MB, free: 6 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.00106/0.00106, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7696/0.7696, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 56.14 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3854, allocations: 80.92 MB / 0.5858 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002194/0.3877, allocations: 1.262 MB / 0.587 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.3905, allocations: 3.252 MB / 0.5902 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.3906, allocations: 0 / 0.5902 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.3906, allocations: 1.062 kB / 0.5902 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.3907, allocations: 13.22 kB / 0.5902 GB, free: 21.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.3911, allocations: 106.4 kB / 0.5903 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.3912, allocations: 37.94 kB / 0.5903 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.3912, allocations: 2.844 kB / 0.5903 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.3913, allocations: 21.59 kB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.3913, allocations: 14.59 kB / 0.5903 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3913, allocations: 3.125 kB / 0.5903 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.3915, allocations: 77.89 kB / 0.5904 GB, free: 21.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.3916, allocations: 9.484 kB / 0.5904 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.3916, allocations: 12.22 kB / 0.5904 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.3918, allocations: 76.66 kB / 0.5905 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3918, allocations: 0 / 0.5905 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3918, allocations: 0 / 0.5905 GB, free: 21.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.3918, allocations: 1.719 kB / 0.5905 GB, free: 21.63 MB / 446.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.0003118/0.3921, allocations: 359.2 kB / 0.5909 GB, free: 21.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3921, allocations: 9.109 kB / 0.5909 GB, free: 21.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.304e-05/0.3922, allocations: 9.562 kB / 0.5909 GB, free: 21.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.178e-05/0.3923, allocations: 161.4 kB / 0.591 GB, free: 21.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3923, allocations: 8.375 kB / 0.591 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.3924, allocations: 384 / 0.591 GB, free: 21.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3925, allocations: 58.3 kB / 0.5911 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3925, allocations: 9.656 kB / 0.5911 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.3925, allocations: 0 / 0.5911 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3925, allocations: 0 / 0.5911 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.629e-05/0.3926, allocations: 23.91 kB / 0.5911 GB, free: 20.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.3927, allocations: 170.6 kB / 0.5913 GB, free: 20.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.64e-05/0.3928, allocations: 48.62 kB / 0.5913 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.3928, allocations: 20.84 kB / 0.5914 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/0.3933, allocations: 0.592 MB / 0.5919 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.3934, allocations: 34.5 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3934, allocations: 0.625 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004653/0.3938, allocations: 303.9 kB / 0.5923 GB, free: 19.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.3939, allocations: 55.41 kB / 0.5923 GB, free: 19.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.457e-05/0.3939, allocations: 102.3 kB / 0.5924 GB, free: 19.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.3939, allocations: 26.23 kB / 0.5924 GB, free: 19.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.394, allocations: 84.58 kB / 0.5925 GB, free: 19.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.394, allocations: 30.08 kB / 0.5925 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.394, allocations: 25.72 kB / 0.5926 GB, free: 19.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.3941, allocations: 322.8 kB / 0.5929 GB, free: 18.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.3941, allocations: 8 kB / 0.5929 GB, free: 18.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.3941, allocations: 58.88 kB / 0.5929 GB, free: 18.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.11e-05/0.3942, allocations: 78.11 kB / 0.593 GB, free: 18.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3942, allocations: 0 / 0.593 GB, free: 18.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001014/0.3943, allocations: 95.17 kB / 0.5931 GB, free: 18.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3943, allocations: 7.938 kB / 0.5931 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3943, allocations: 5.406 kB / 0.5931 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3944, allocations: 0 / 0.5931 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.3944, allocations: 20.44 kB / 0.5931 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3944, allocations: 4 kB / 0.5931 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.3945, allocations: 4.469 kB / 0.5931 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3945, allocations: 13.2 kB / 0.5932 GB, free: 18.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.3945, allocations: 118.7 kB / 0.5933 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.3946, allocations: 4.906 kB / 0.5933 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.3946, allocations: 7.969 kB / 0.5933 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.3946, allocations: 1.188 kB / 0.5933 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3946, allocations: 0 / 0.5933 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3946, allocations: 7.938 kB / 0.5933 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3948, allocations: 179.2 kB / 0.5935 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3948, allocations: 0 / 0.5935 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.55e-05/0.3949, allocations: 15.98 kB / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3949, allocations: 0 / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.3949, allocations: 0 / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3949, allocations: 0.7812 kB / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3949, allocations: 4 kB / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.3951, allocations: 182.1 kB / 0.5937 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.3951, allocations: 81.11 kB / 0.5937 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3951, allocations: 0 / 0.5937 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.3952, allocations: 8.031 kB / 0.5937 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.3952, allocations: 7.219 kB / 0.5937 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.3953, allocations: 7.938 kB / 0.5938 GB, free: 17.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.781e-05/0.3953, allocations: 79.64 kB / 0.5938 GB, free: 17.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3953, allocations: 0 / 0.5938 GB, free: 17.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.3955, allocations: 16 kB / 0.5938 GB, free: 17.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.561e-05/0.3956, allocations: 109.7 kB / 0.594 GB, free: 17.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.798e-05/0.3957, allocations: 47.92 kB / 0.594 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3957, allocations: 0 / 0.594 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.3957, allocations: 12 kB / 0.594 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.396, allocations: 4 kB / 0.594 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.3965, allocations: 335.6 kB / 0.5943 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3966, allocations: 0.6885 MB / 0.595 GB, free: 16.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.694e-05/0.3966, allocations: 7.938 kB / 0.595 GB, free: 16.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.3967, allocations: 11.44 kB / 0.595 GB, free: 16.56 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3967, allocations: 4 kB / 0.595 GB, free: 16.55 MB / 446.1 MB Notification: Performance of Templates: time 0.002579/0.3993, allocations: 0.6231 MB / 0.5956 GB, free: 15.94 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)