Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001071/0.001071, allocations: 111 kB / 16.42 MB, free: 6.461 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.001148/0.001148, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 292.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9301/0.9301, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 96.22 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3757, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002242/0.3779, allocations: 1.268 MB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.3809, allocations: 2.493 MB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.3809, allocations: 0 / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.381, allocations: 3.938 kB / 0.7707 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.231e-05/0.381, allocations: 7.984 kB / 0.7707 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.3816, allocations: 127.4 kB / 0.7708 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.397e-05/0.3816, allocations: 35.86 kB / 0.7709 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.3817, allocations: 4 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.3817, allocations: 19.92 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.3818, allocations: 15.97 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3818, allocations: 4 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.3821, allocations: 119.7 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.3822, allocations: 11.94 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.3822, allocations: 11.94 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3824, allocations: 87.53 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3824, allocations: 0 / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3824, allocations: 0 / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3824, allocations: 0 / 0.7711 GB, free: 15.7 MB / 0.545 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.0003719/0.3828, allocations: 358 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3828, allocations: 8.031 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.3831, allocations: 16.83 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.3832, allocations: 164.4 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3832, allocations: 384 / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.3832, allocations: 12.36 kB / 0.7717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3833, allocations: 76.31 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3834, allocations: 4 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3834, allocations: 4 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3834, allocations: 0 / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.3834, allocations: 11.92 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.384, allocations: 470.8 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.3841, allocations: 75.75 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.3842, allocations: 22.7 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-06/0.3842, allocations: 0 / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3842, allocations: 42.5 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.3842, allocations: 0 / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005867/0.3848, allocations: 298.2 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3849, allocations: 102.8 kB / 0.7727 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.3849, allocations: 105.8 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.385, allocations: 33.95 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.385, allocations: 91.98 kB / 0.7729 GB, free: 13.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.385, allocations: 19.62 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.3851, allocations: 29.7 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.3852, allocations: 318.8 kB / 0.7733 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.3852, allocations: 11.98 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.131e-05/0.3853, allocations: 65.02 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.889e-05/0.3854, allocations: 69.55 kB / 0.7734 GB, free: 12.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3854, allocations: 4.062 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001358/0.3855, allocations: 105.6 kB / 0.7735 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3855, allocations: 4 kB / 0.7735 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3856, allocations: 4 kB / 0.7735 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3856, allocations: 0 / 0.7735 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.3857, allocations: 19.98 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3857, allocations: 4 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.3857, allocations: 3.906 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3857, allocations: 4 kB / 0.7736 GB, free: 12.84 MB / 0.545 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 8.365e-05/0.3858, allocations: 132.2 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.3859, allocations: 4 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.3859, allocations: 11.55 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3859, allocations: 4 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3859, allocations: 0 / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.386, allocations: 85.11 kB / 0.7738 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.386, allocations: 7.922 kB / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.3862, allocations: 4 kB / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.3862, allocations: 0 / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002268/0.3865, allocations: 319.3 kB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002487/0.3867, allocations: 405.2 kB / 0.7745 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.448e-05/0.3868, allocations: 20.09 kB / 0.7745 GB, free: 11.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.3868, allocations: 83.27 kB / 0.7746 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Backend: time 2.6e-07/0.3868, allocations: 0 / 0.7746 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006075/0.3874, allocations: 159.8 kB / 0.7748 GB, free: 11.57 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006281/0.3881, allocations: 0.7673 MB / 0.7755 GB, free: 10.75 MB / 0.545 GB Notification: Performance of Templates: time 0.003539/0.3916, allocations: 1.287 MB / 0.7768 GB, free: 9.508 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)