Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001291/0.001291, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001257/0.001257, allocations: 192.1 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.38/1.38, 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-master/package.mo): time 0.8263/0.8263, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.89 kB / 0.5068 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 80.9 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002218/0.3737, allocations: 1.259 MB / 0.587 GB, free: 24.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.376, allocations: 2.5 MB / 0.5894 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.3761, allocations: 0 / 0.5894 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.3761, allocations: 3.984 kB / 0.5894 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.3762, allocations: 5 kB / 0.5894 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.3766, allocations: 129.2 kB / 0.5896 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.5e-05/0.3767, allocations: 38.72 kB / 0.5896 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.3768, allocations: 2.312 kB / 0.5896 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.3768, allocations: 21.52 kB / 0.5896 GB, free: 22.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.3769, allocations: 18.69 kB / 0.5896 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3769, allocations: 6.875 kB / 0.5896 GB, free: 22.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.3772, allocations: 120.2 kB / 0.5898 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.3772, allocations: 3.984 kB / 0.5898 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.3772, allocations: 17.19 kB / 0.5898 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.3774, allocations: 77.67 kB / 0.5899 GB, free: 22.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3774, allocations: 11.98 kB / 0.5899 GB, free: 22.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3774, allocations: 0 / 0.5899 GB, free: 22.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3775, allocations: 1.406 kB / 0.5899 GB, free: 22.3 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.0003478/0.3778, allocations: 351.3 kB / 0.5902 GB, free: 21.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3779, allocations: 14.86 kB / 0.5902 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.3781, allocations: 16.92 kB / 0.5902 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.588e-05/0.3781, allocations: 160.4 kB / 0.5904 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3782, allocations: 4.375 kB / 0.5904 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3782, allocations: 5.625 kB / 0.5904 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3783, allocations: 80.8 kB / 0.5905 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3783, allocations: 0.5625 kB / 0.5905 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3783, allocations: 5.094 kB / 0.5905 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3784, allocations: 3.938 kB / 0.5905 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.122e-05/0.3784, allocations: 19.92 kB / 0.5905 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.3789, allocations: 473.3 kB / 0.591 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.379, allocations: 69.47 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.379, allocations: 28.7 kB / 0.591 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3791, allocations: 0 / 0.591 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.3791, allocations: 35.16 kB / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3791, allocations: 0.9688 kB / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005205/0.3796, allocations: 304.2 kB / 0.5914 GB, free: 20.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.3796, allocations: 106.8 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.421e-05/0.3797, allocations: 103.1 kB / 0.5916 GB, free: 20.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.3797, allocations: 25.7 kB / 0.5916 GB, free: 20.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.3797, allocations: 80.14 kB / 0.5917 GB, free: 20.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.3798, allocations: 28.31 kB / 0.5917 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.3798, allocations: 34.23 kB / 0.5917 GB, free: 20.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.3798, allocations: 320.7 kB / 0.592 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.3799, allocations: 15.98 kB / 0.5921 GB, free: 19.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.3799, allocations: 59.5 kB / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.225e-05/0.38, allocations: 74.03 kB / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.38, allocations: 0.625 kB / 0.5922 GB, free: 19.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000117/0.3801, allocations: 95.8 kB / 0.5923 GB, free: 19.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3801, allocations: 10.19 kB / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3801, allocations: 0 / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3802, allocations: 4 kB / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.3802, allocations: 23.98 kB / 0.5923 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3802, allocations: 0.5938 kB / 0.5923 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.3803, allocations: 6.25 kB / 0.5923 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3803, allocations: 4 kB / 0.5923 GB, free: 19.47 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 5.491e-05/0.3804, allocations: 121.7 kB / 0.5924 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.3804, allocations: 4 kB / 0.5924 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.3804, allocations: 12.64 kB / 0.5925 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3805, allocations: 0 / 0.5925 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3805, allocations: 4 kB / 0.5925 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3805, allocations: 1.781 kB / 0.5925 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.3807, allocations: 185.5 kB / 0.5926 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3808, allocations: 0 / 0.5926 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.3808, allocations: 16 kB / 0.5926 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3808, allocations: 0 / 0.5926 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3809, allocations: 1.594 kB / 0.5927 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3809, allocations: 7.984 kB / 0.5927 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3809, allocations: 0 / 0.5927 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.381, allocations: 336 kB / 0.593 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.3811, allocations: 85.14 kB / 0.5931 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.3811, allocations: 4.5 kB / 0.5931 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3813, allocations: 4.906 kB / 0.5931 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.3813, allocations: 7.984 kB / 0.5931 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3813, allocations: 13.69 kB / 0.5931 GB, free: 18.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.92e-05/0.3813, allocations: 75.28 kB / 0.5932 GB, free: 18.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3813, allocations: 0 / 0.5932 GB, free: 18.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.3816, allocations: 16 kB / 0.5932 GB, free: 18.51 MB / 446.1 MB 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 9.621e-05/0.3817, allocations: 109.5 kB / 0.5933 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.3819, allocations: 44.52 kB / 0.5933 GB, free: 18.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3819, allocations: 0 / 0.5933 GB, free: 18.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-05/0.3819, allocations: 20.47 kB / 0.5933 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3823, allocations: 5.938 kB / 0.5933 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.3829, allocations: 342.6 kB / 0.5937 GB, free: 18.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.383, allocations: 0.6893 MB / 0.5943 GB, free: 17.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.983e-05/0.383, allocations: 4 kB / 0.5944 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.3831, allocations: 11.44 kB / 0.5944 GB, free: 17.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3831, allocations: 0 / 0.5944 GB, free: 17.28 MB / 446.1 MB Notification: Performance of Templates: time 0.002718/0.3858, allocations: 0.6441 MB / 0.595 GB, free: 16.67 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)