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.007909/0.007908, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.001624/0.001624, allocations: 189.1 kB / 16.67 MB, free: 5.422 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9035/0.9035, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 66 kB / 0.5813 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2245, allocations: 80.22 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002439/0.2269, allocations: 1.259 MB / 0.6609 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.2301, allocations: 2.503 MB / 0.6633 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.2302, allocations: 0 / 0.6633 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.2302, allocations: 3.938 kB / 0.6633 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.2302, allocations: 7.922 kB / 0.6633 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.2309, allocations: 130.2 kB / 0.6635 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.2309, allocations: 39.89 kB / 0.6635 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.231, allocations: 4 kB / 0.6635 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.2311, allocations: 23.88 kB / 0.6635 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.2311, allocations: 19.91 kB / 0.6635 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2311, allocations: 4 kB / 0.6636 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.2315, allocations: 111.8 kB / 0.6637 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.2315, allocations: 7.984 kB / 0.6637 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.2315, allocations: 19.92 kB / 0.6637 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.2317, allocations: 79.78 kB / 0.6638 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2318, allocations: 0 / 0.6638 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2318, allocations: 0 / 0.6638 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.2318, allocations: 0 / 0.6638 GB, free: 6.07 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.0004897/0.2323, allocations: 363.5 kB / 0.6641 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2323, allocations: 8.031 kB / 0.6641 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.2326, allocations: 12.84 kB / 0.6641 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2327, allocations: 172.3 kB / 0.6643 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2327, allocations: 4.375 kB / 0.6643 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.2328, allocations: 4.375 kB / 0.6643 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2329, allocations: 72.39 kB / 0.6644 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2329, allocations: 0 / 0.6644 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.233, allocations: 4 kB / 0.6644 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.233, allocations: 0 / 0.6644 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.992e-05/0.233, allocations: 15.92 kB / 0.6644 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.2337, allocations: 466.9 kB / 0.6648 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2338, allocations: 75.59 kB / 0.6649 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.2339, allocations: 18.7 kB / 0.6649 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2339, allocations: 0 / 0.6649 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2339, allocations: 42.56 kB / 0.665 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2339, allocations: 0 / 0.665 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006568/0.2346, allocations: 302.2 kB / 0.6653 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.2347, allocations: 106.8 kB / 0.6654 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.2348, allocations: 106.4 kB / 0.6655 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2348, allocations: 33.7 kB / 0.6655 GB, free: 4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.2348, allocations: 84.05 kB / 0.6656 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.2349, allocations: 31.55 kB / 0.6656 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.2349, allocations: 29.66 kB / 0.6656 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.235, allocations: 318.8 kB / 0.6659 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.2351, allocations: 12 kB / 0.6659 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.2351, allocations: 53.14 kB / 0.666 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.2352, allocations: 85.19 kB / 0.6661 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2352, allocations: 0 / 0.6661 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001332/0.2354, allocations: 93.55 kB / 0.6662 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2354, allocations: 4 kB / 0.6662 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2354, allocations: 4 kB / 0.6662 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2354, allocations: 0 / 0.6662 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.701e-05/0.2355, allocations: 19.94 kB / 0.6662 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2355, allocations: 4 kB / 0.6662 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.2356, allocations: 4 kB / 0.6662 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2356, allocations: 4 kB / 0.6662 GB, free: 3.207 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 9.907e-05/0.2357, allocations: 126.8 kB / 0.6663 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.2358, allocations: 7.906 kB / 0.6663 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.2358, allocations: 7.562 kB / 0.6663 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2358, allocations: 4 kB / 0.6663 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2358, allocations: 0 / 0.6663 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.2358, allocations: 3.938 kB / 0.6663 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.2362, allocations: 181.6 kB / 0.6665 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2362, allocations: 4 kB / 0.6665 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/0.2363, allocations: 19.98 kB / 0.6665 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2363, allocations: 0 / 0.6665 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2363, allocations: 8 kB / 0.6665 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2363, allocations: 3.938 kB / 0.6666 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2363, allocations: 3.984 kB / 0.6666 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.2366, allocations: 326 kB / 0.6669 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.2366, allocations: 85.02 kB / 0.6669 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2367, allocations: 4 kB / 0.667 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.2369, allocations: 12.03 kB / 0.667 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.2369, allocations: 4 kB / 0.667 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.2369, allocations: 3.938 kB / 0.667 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.226e-05/0.237, allocations: 87.27 kB / 0.6671 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.237, allocations: 0 / 0.6671 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003113/0.2373, allocations: 12 kB / 0.6671 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.000146/0.2374, allocations: 107.2 kB / 0.6672 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.2376, allocations: 52.17 kB / 0.6672 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2376, allocations: 0 / 0.6672 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/0.2376, allocations: 15.98 kB / 0.6672 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.0004991/0.2381, allocations: 9.562 kB / 0.6672 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.2389, allocations: 344.3 kB / 0.6676 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.2392, allocations: 0.6807 MB / 0.6682 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.2393, allocations: 11.94 kB / 0.6682 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.2393, allocations: 11.44 kB / 0.6683 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2393, allocations: 0 / 0.6683 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of Templates: time 0.003506/0.2428, allocations: 0.6409 MB / 0.6689 GB, free: 336 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)