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.005105/0.005105, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001102/0.001103, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.4 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.8052/0.8052, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 58.16 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1927, allocations: 80.21 MB / 0.6596 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002313/0.195, allocations: 1.265 MB / 0.6609 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004387/0.1994, allocations: 3.267 MB / 0.6641 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.1995, allocations: 0 / 0.6641 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.1995, allocations: 0 / 0.6641 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.1996, allocations: 3.938 kB / 0.6641 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.2002, allocations: 111.5 kB / 0.6642 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.157e-05/0.2002, allocations: 35.86 kB / 0.6642 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.2003, allocations: 3.984 kB / 0.6642 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.2003, allocations: 20 kB / 0.6642 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.2004, allocations: 19.91 kB / 0.6642 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2004, allocations: 4 kB / 0.6643 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.2007, allocations: 75.81 kB / 0.6643 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.2008, allocations: 11.97 kB / 0.6643 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.2008, allocations: 11.94 kB / 0.6643 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.201, allocations: 75.78 kB / 0.6644 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.201, allocations: 0 / 0.6644 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.525e-06/0.201, allocations: 0 / 0.6644 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.201, allocations: 0 / 0.6644 GB, free: 5.398 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.0004914/0.2015, allocations: 351.5 kB / 0.6648 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2016, allocations: 8.031 kB / 0.6648 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.2017, allocations: 8.844 kB / 0.6648 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2018, allocations: 168.3 kB / 0.6649 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2019, allocations: 4.375 kB / 0.6649 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.2019, allocations: 12.31 kB / 0.6649 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.202, allocations: 53.8 kB / 0.665 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2021, allocations: 3.938 kB / 0.665 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2021, allocations: 8 kB / 0.665 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2021, allocations: 0 / 0.665 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/0.2021, allocations: 15.98 kB / 0.665 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.2024, allocations: 173.6 kB / 0.6652 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.2025, allocations: 46.56 kB / 0.6652 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.2025, allocations: 16.86 kB / 0.6653 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007785/0.2033, allocations: 0.5985 MB / 0.6658 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.2033, allocations: 38.56 kB / 0.6659 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2033, allocations: 0 / 0.6659 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000688/0.204, allocations: 302.9 kB / 0.6662 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.2041, allocations: 55.41 kB / 0.6662 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.2042, allocations: 101.8 kB / 0.6663 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2042, allocations: 29.7 kB / 0.6663 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.2042, allocations: 84.05 kB / 0.6664 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2043, allocations: 27.56 kB / 0.6664 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.2043, allocations: 29.7 kB / 0.6665 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2045, allocations: 314.8 kB / 0.6668 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.2045, allocations: 15.98 kB / 0.6668 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.2046, allocations: 57.14 kB / 0.6668 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.2047, allocations: 77.03 kB / 0.6669 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2047, allocations: 3.938 kB / 0.6669 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001274/0.2048, allocations: 93.55 kB / 0.667 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2049, allocations: 8 kB / 0.667 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2049, allocations: 0 / 0.667 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2049, allocations: 0 / 0.667 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.205, allocations: 23.98 kB / 0.667 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.205, allocations: 0 / 0.667 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.205, allocations: 11.94 kB / 0.6671 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.205, allocations: 4 kB / 0.6671 GB, free: 2.285 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 0.0001002/0.2052, allocations: 117.9 kB / 0.6672 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.2052, allocations: 7.906 kB / 0.6672 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.2052, allocations: 11.95 kB / 0.6672 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2052, allocations: 4 kB / 0.6672 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2052, allocations: 0 / 0.6672 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2053, allocations: 3.938 kB / 0.6672 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.2055, allocations: 169.7 kB / 0.6674 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2055, allocations: 0 / 0.6674 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.537e-05/0.2056, allocations: 16 kB / 0.6674 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2056, allocations: 0 / 0.6674 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2056, allocations: 4 kB / 0.6674 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2057, allocations: 11.92 kB / 0.6674 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2057, allocations: 0 / 0.6674 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.2059, allocations: 175.5 kB / 0.6676 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.2059, allocations: 89.42 kB / 0.6676 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.206, allocations: 0 / 0.6676 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2061, allocations: 8 kB / 0.6676 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.2061, allocations: 3.984 kB / 0.6677 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.2061, allocations: 11.94 kB / 0.6677 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.2062, allocations: 79.27 kB / 0.6677 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2062, allocations: 0 / 0.6677 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000241/0.2064, allocations: 16 kB / 0.6678 GB, free: 1.477 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.0001514/0.2066, allocations: 95.25 kB / 0.6678 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.2067, allocations: 44.11 kB / 0.6679 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2067, allocations: 4.062 kB / 0.6679 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.2068, allocations: 19.92 kB / 0.6679 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.2071, allocations: 4 kB / 0.6679 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.2077, allocations: 322.3 kB / 0.6682 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.208, allocations: 0.6807 MB / 0.6689 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.2081, allocations: 11.98 kB / 0.6689 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.2081, allocations: 11.44 kB / 0.6689 GB, free: 236 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2081, allocations: 0 / 0.6689 GB, free: 236 kB / 0.4981 GB Notification: Performance of Templates: time 0.003114/0.2113, allocations: 0.6245 MB / 0.6695 GB, free: 15.61 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)