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.008509/0.008509, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001481/0.001481, allocations: 194.8 kB / 16.67 MB, free: 5.926 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 67.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4809, allocations: 80.91 MB / 0.6646 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002093/0.483, allocations: 1.267 MB / 0.6659 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002478/0.4855, allocations: 2.491 MB / 0.6683 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.4856, allocations: 7.938 kB / 0.6683 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.4856, allocations: 3.938 kB / 0.6683 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.4856, allocations: 5.109 kB / 0.6683 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.4862, allocations: 137.4 kB / 0.6684 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.4863, allocations: 37.55 kB / 0.6685 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.4863, allocations: 5.484 kB / 0.6685 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.4863, allocations: 17.48 kB / 0.6685 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.4864, allocations: 22.23 kB / 0.6685 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.4864, allocations: 2.594 kB / 0.6685 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.4867, allocations: 121.4 kB / 0.6686 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.4867, allocations: 2.594 kB / 0.6686 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.4868, allocations: 18.48 kB / 0.6687 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.487, allocations: 85.09 kB / 0.6687 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.487, allocations: 5.281 kB / 0.6687 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.487, allocations: 0 / 0.6687 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.487, allocations: 0 / 0.6687 GB, free: 4.281 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.0003566/0.4874, allocations: 351.4 kB / 0.6691 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4874, allocations: 10.31 kB / 0.6691 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.4876, allocations: 13.72 kB / 0.6691 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.141e-05/0.4877, allocations: 161.6 kB / 0.6693 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4877, allocations: 1.469 kB / 0.6693 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.4878, allocations: 16.02 kB / 0.6693 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.4879, allocations: 69.3 kB / 0.6693 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4879, allocations: 4 kB / 0.6693 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4879, allocations: 5.344 kB / 0.6693 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4879, allocations: 1.375 kB / 0.6693 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.384e-05/0.488, allocations: 14.58 kB / 0.6694 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.4885, allocations: 469.7 kB / 0.6698 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.4886, allocations: 74.25 kB / 0.6699 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.4886, allocations: 22.58 kB / 0.6699 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.4886, allocations: 1.438 kB / 0.6699 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.4887, allocations: 41.41 kB / 0.6699 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4887, allocations: 0 / 0.6699 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005537/0.4892, allocations: 302.8 kB / 0.6702 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.4893, allocations: 104 kB / 0.6703 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.45e-05/0.4893, allocations: 102.2 kB / 0.6704 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.4894, allocations: 31.14 kB / 0.6705 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.4894, allocations: 85.2 kB / 0.6705 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.4894, allocations: 31.28 kB / 0.6706 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.4894, allocations: 25.28 kB / 0.6706 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.4895, allocations: 320.4 kB / 0.6709 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.713e-05/0.4895, allocations: 11.62 kB / 0.6709 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.4896, allocations: 60.61 kB / 0.671 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.812e-05/0.4897, allocations: 70.73 kB / 0.671 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4897, allocations: 1.312 kB / 0.671 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001204/0.4898, allocations: 101.8 kB / 0.6711 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4898, allocations: 8.094 kB / 0.6711 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.4898, allocations: 6.141 kB / 0.6711 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4898, allocations: 1.156 kB / 0.6711 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.4899, allocations: 21.84 kB / 0.6712 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4899, allocations: 1.188 kB / 0.6712 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.595e-05/0.49, allocations: 10.19 kB / 0.6712 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.49, allocations: 8.172 kB / 0.6712 GB, free: 1.711 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 5.609e-05/0.49, allocations: 130.5 kB / 0.6713 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.4901, allocations: 7.656 kB / 0.6713 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.4901, allocations: 8.938 kB / 0.6713 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4901, allocations: 5.125 kB / 0.6713 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4901, allocations: 1.312 kB / 0.6713 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4902, allocations: 1.312 kB / 0.6713 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.4904, allocations: 177 kB / 0.6715 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4904, allocations: 1.312 kB / 0.6715 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.4905, allocations: 18.23 kB / 0.6715 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4905, allocations: 1.406 kB / 0.6715 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4906, allocations: 1.406 kB / 0.6715 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4906, allocations: 7.938 kB / 0.6715 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4906, allocations: 1.281 kB / 0.6715 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.4907, allocations: 328.6 kB / 0.6718 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.4908, allocations: 84.8 kB / 0.6719 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.4908, allocations: 1.438 kB / 0.6719 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.491, allocations: 11 kB / 0.6719 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.491, allocations: 2.25 kB / 0.6719 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.491, allocations: 14.56 kB / 0.672 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.801e-05/0.491, allocations: 77.75 kB / 0.672 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.491, allocations: 1.344 kB / 0.672 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002995/0.4914, allocations: 13.81 kB / 0.672 GB, free: 0.8359 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.0001148/0.4915, allocations: 109.8 kB / 0.6721 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.4916, allocations: 42.77 kB / 0.6722 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4916, allocations: 0.8125 kB / 0.6722 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.4916, allocations: 19.53 kB / 0.6722 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.4921, allocations: 9.641 kB / 0.6722 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005211/0.4926, allocations: 327.8 kB / 0.6725 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.4928, allocations: 0.69 MB / 0.6732 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.4929, allocations: 2.281 kB / 0.6732 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.4929, allocations: 15.5 kB / 0.6732 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4929, allocations: 0 / 0.6732 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.002909/0.4958, allocations: 0.649 MB / 0.6739 GB, free: 15.38 MB / 0.5137 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)