Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 110.1 kB / 16.41 MB, free: 6.477 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.001095/0.001095, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7977/0.7977, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 67.36 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2043, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002144/0.2065, allocations: 1.276 MB / 0.6615 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002806/0.2093, allocations: 2.499 MB / 0.664 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.2093, allocations: 0 / 0.664 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.2094, allocations: 0 / 0.664 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.2094, allocations: 7.922 kB / 0.664 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.2099, allocations: 127.4 kB / 0.6641 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.759e-05/0.21, allocations: 39.84 kB / 0.6642 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.2101, allocations: 3.984 kB / 0.6642 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.313e-05/0.2101, allocations: 19.94 kB / 0.6642 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.2102, allocations: 19.91 kB / 0.6642 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2102, allocations: 4 kB / 0.6642 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.2105, allocations: 111.8 kB / 0.6643 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.2105, allocations: 7.984 kB / 0.6643 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.2106, allocations: 23.86 kB / 0.6643 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.2108, allocations: 83.78 kB / 0.6644 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2108, allocations: 0 / 0.6644 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2108, allocations: 0 / 0.6644 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2108, allocations: 0 / 0.6644 GB, free: 6.066 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.0004022/0.2112, allocations: 355.5 kB / 0.6648 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2112, allocations: 12.02 kB / 0.6648 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.2114, allocations: 16.84 kB / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.2116, allocations: 164.4 kB / 0.6649 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2116, allocations: 4.375 kB / 0.6649 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.2116, allocations: 12.34 kB / 0.665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.2117, allocations: 72.33 kB / 0.665 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2118, allocations: 0 / 0.665 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.2118, allocations: 0 / 0.665 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2118, allocations: 4 kB / 0.665 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.2118, allocations: 11.98 kB / 0.665 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.2124, allocations: 470.9 kB / 0.6655 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.2125, allocations: 71.72 kB / 0.6656 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.2126, allocations: 22.64 kB / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.2126, allocations: 0 / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.2126, allocations: 38.56 kB / 0.6656 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2126, allocations: 3.938 kB / 0.6656 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005795/0.2132, allocations: 310.3 kB / 0.6659 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.2133, allocations: 102.8 kB / 0.666 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.2134, allocations: 101.8 kB / 0.6661 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2134, allocations: 33.7 kB / 0.6661 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.2134, allocations: 84.05 kB / 0.6662 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2135, allocations: 31.55 kB / 0.6663 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.2135, allocations: 25.72 kB / 0.6663 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.2136, allocations: 322.8 kB / 0.6666 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.2136, allocations: 15.98 kB / 0.6666 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.2137, allocations: 53.14 kB / 0.6667 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.2138, allocations: 73.55 kB / 0.6667 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2138, allocations: 4 kB / 0.6667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001216/0.2139, allocations: 93.58 kB / 0.6668 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2139, allocations: 4 kB / 0.6668 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2139, allocations: 7.984 kB / 0.6668 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.214, allocations: 0 / 0.6668 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.214, allocations: 16.06 kB / 0.6668 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.2141, allocations: 12.12 kB / 0.6669 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.2141, allocations: 4 kB / 0.6669 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2141, allocations: 4 kB / 0.6669 GB, free: 3.199 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.755e-05/0.2142, allocations: 126.6 kB / 0.667 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.2143, allocations: 7.906 kB / 0.667 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.2143, allocations: 7.562 kB / 0.667 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2143, allocations: 4 kB / 0.667 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2143, allocations: 0 / 0.667 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2143, allocations: 0 / 0.667 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.2146, allocations: 185.6 kB / 0.6672 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2147, allocations: 4 kB / 0.6672 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.2147, allocations: 15.98 kB / 0.6672 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2148, allocations: 0 / 0.6672 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2148, allocations: 4 kB / 0.6672 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2148, allocations: 3.938 kB / 0.6672 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2148, allocations: 0 / 0.6672 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.215, allocations: 330 kB / 0.6675 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.2151, allocations: 89.02 kB / 0.6676 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.2151, allocations: 0 / 0.6676 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2153, allocations: 8.031 kB / 0.6676 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.2153, allocations: 0 / 0.6676 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2153, allocations: 11.94 kB / 0.6676 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.2153, allocations: 79.28 kB / 0.6677 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2153, allocations: 0 / 0.6677 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000304/0.2156, allocations: 20 kB / 0.6677 GB, free: 2.219 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001217/0.2158, allocations: 107.2 kB / 0.6678 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2159, allocations: 43.91 kB / 0.6679 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2159, allocations: 4 kB / 0.6679 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.2159, allocations: 19.94 kB / 0.6679 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.2164, allocations: 16.3 kB / 0.6679 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.2169, allocations: 362 kB / 0.6682 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2172, allocations: 0.6846 MB / 0.6689 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.2172, allocations: 11.44 kB / 0.6689 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2172, allocations: 0 / 0.6689 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of Templates: time 0.002226/0.2195, allocations: 0.7911 MB / 0.6697 GB, free: 128 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)