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.0009263/0.0009265, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006377/0.006377, allocations: 171.8 kB / 16.26 MB, free: 6.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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9899/0.9899, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005583/0.0005584, allocations: 9.062 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2086, allocations: 82.31 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001341/0.21, allocations: 0.986 MB / 0.5889 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003498/0.2135, allocations: 3.196 MB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.2135, allocations: 0 / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.2135, allocations: 3.984 kB / 0.592 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.2136, allocations: 7.938 kB / 0.5921 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.2141, allocations: 95.61 kB / 0.5921 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.475e-05/0.2142, allocations: 43.84 kB / 0.5922 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.2142, allocations: 0 / 0.5922 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.2143, allocations: 11.98 kB / 0.5922 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.2144, allocations: 23.91 kB / 0.5922 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.2144, allocations: 7.938 kB / 0.5922 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.2146, allocations: 75.81 kB / 0.5923 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.2146, allocations: 3.984 kB / 0.5923 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.2147, allocations: 45.62 kB / 0.5923 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.2149, allocations: 68.14 kB / 0.5924 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.2149, allocations: 0 / 0.5924 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.245e-06/0.2149, allocations: 0 / 0.5924 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2149, allocations: 3.938 kB / 0.5924 GB, free: 14.02 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.0003771/0.2153, allocations: 343.4 kB / 0.5927 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2153, allocations: 8.031 kB / 0.5927 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.674e-05/0.2154, allocations: 8.938 kB / 0.5928 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2155, allocations: 164.3 kB / 0.5929 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2156, allocations: 8.312 kB / 0.5929 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.2156, allocations: 8.375 kB / 0.5929 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.2157, allocations: 53.8 kB / 0.593 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2157, allocations: 4 kB / 0.593 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2158, allocations: 0 / 0.593 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2158, allocations: 0 / 0.593 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.2158, allocations: 23.97 kB / 0.593 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.216, allocations: 169.6 kB / 0.5932 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.8e-05/0.2161, allocations: 54.48 kB / 0.5932 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.2161, allocations: 16.84 kB / 0.5932 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/0.2168, allocations: 0.5987 MB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.2169, allocations: 38.56 kB / 0.5939 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2169, allocations: 0 / 0.5939 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005485/0.2174, allocations: 294.2 kB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.2175, allocations: 51.41 kB / 0.5942 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.2176, allocations: 105.8 kB / 0.5943 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2176, allocations: 29.7 kB / 0.5943 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.2176, allocations: 88.14 kB / 0.5944 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.2177, allocations: 39.55 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.2177, allocations: 17.72 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2178, allocations: 318.8 kB / 0.5948 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.2178, allocations: 12 kB / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.2179, allocations: 49.14 kB / 0.5948 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.577e-05/0.218, allocations: 77.08 kB / 0.5949 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.218, allocations: 0 / 0.5949 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001251/0.2181, allocations: 93.55 kB / 0.595 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2181, allocations: 4.125 kB / 0.595 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2181, allocations: 4 kB / 0.595 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2182, allocations: 4 kB / 0.595 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.2182, allocations: 19.94 kB / 0.595 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.2182, allocations: 4 kB / 0.595 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.2183, allocations: 7.938 kB / 0.595 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.2183, allocations: 7.984 kB / 0.595 GB, free: 10.93 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 7.856e-05/0.2184, allocations: 113.8 kB / 0.5951 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.2184, allocations: 7.906 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.2185, allocations: 11.97 kB / 0.5952 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2185, allocations: 3.938 kB / 0.5952 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2185, allocations: 3.938 kB / 0.5952 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2185, allocations: 3.938 kB / 0.5952 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.2187, allocations: 169.7 kB / 0.5953 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2187, allocations: 3.938 kB / 0.5953 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.2188, allocations: 19.98 kB / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2188, allocations: 448 / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2188, allocations: 4 kB / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2188, allocations: 0 / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.2188, allocations: 4 kB / 0.5954 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.219, allocations: 179.4 kB / 0.5955 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.2191, allocations: 77.48 kB / 0.5956 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.2191, allocations: 0 / 0.5956 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2192, allocations: 7.984 kB / 0.5956 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.2192, allocations: 11.98 kB / 0.5956 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.2193, allocations: 7.922 kB / 0.5956 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.2193, allocations: 79.28 kB / 0.5957 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2193, allocations: 4 kB / 0.5957 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002293/0.2195, allocations: 12 kB / 0.5957 GB, free: 10.12 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.0001263/0.2197, allocations: 107.2 kB / 0.5958 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.2198, allocations: 39.92 kB / 0.5959 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2198, allocations: 0 / 0.5959 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.2198, allocations: 15.94 kB / 0.5959 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.2201, allocations: 15.91 kB / 0.5959 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.2207, allocations: 390.1 kB / 0.5963 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.221, allocations: 0.6848 MB / 0.5969 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.318e-05/0.221, allocations: 8 kB / 0.5969 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.221, allocations: 11.44 kB / 0.597 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of SimCode: time 1.843e-06/0.2211, allocations: 0 / 0.597 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of Templates: time 0.002873/0.2239, allocations: 0.5944 MB / 0.5975 GB, free: 8.211 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)