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.001327/0.001327, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001263/0.001263, allocations: 187 kB / 17.34 MB, free: 5.742 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 293.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9029/0.9029, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 87.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3975, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002708/0.4003, allocations: 1.261 MB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00345/0.4038, allocations: 2.485 MB / 0.7707 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.4038, allocations: 7.938 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.4038, allocations: 0 / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.4039, allocations: 11.92 kB / 0.7707 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.4046, allocations: 127.4 kB / 0.7708 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.4047, allocations: 35.91 kB / 0.7709 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.4048, allocations: 4 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.4048, allocations: 19.86 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.4049, allocations: 19.97 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.4049, allocations: 0 / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.4053, allocations: 119.8 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.4053, allocations: 11.92 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.784e-05/0.4053, allocations: 11.94 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.4056, allocations: 87.48 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4056, allocations: 4 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4056, allocations: 0 / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4056, 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.0004907/0.4061, allocations: 356.8 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4062, allocations: 12.03 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.4064, allocations: 20.78 kB / 0.7715 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4065, allocations: 164.4 kB / 0.7717 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4065, allocations: 4.375 kB / 0.7717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.4066, allocations: 8.359 kB / 0.7717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.4067, allocations: 76.38 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4067, allocations: 0 / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4068, allocations: 0 / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4068, allocations: 4 kB / 0.7717 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.4068, allocations: 11.94 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.4074, allocations: 474.7 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.4076, allocations: 71.66 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.4077, allocations: 26.7 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.4077, allocations: 0 / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4077, allocations: 34.64 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.4077, allocations: 0 / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0007065/0.4084, allocations: 302.2 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.4085, allocations: 102.8 kB / 0.7727 GB, free: 13.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.4086, allocations: 101.8 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4086, allocations: 25.7 kB / 0.7728 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.4086, allocations: 95.92 kB / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.4087, allocations: 23.86 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.4087, allocations: 29.72 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4088, allocations: 326.8 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.4089, allocations: 8 kB / 0.7733 GB, free: 13.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.4089, allocations: 61.02 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.409, allocations: 73.59 kB / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.409, allocations: 0 / 0.7734 GB, free: 12.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001435/0.4092, allocations: 97.58 kB / 0.7735 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4092, allocations: 8 kB / 0.7735 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4092, allocations: 4.125 kB / 0.7735 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4092, allocations: 4 kB / 0.7735 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.4093, allocations: 24 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4093, allocations: 3.984 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.4094, allocations: 7.906 kB / 0.7736 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4094, allocations: 4 kB / 0.7736 GB, free: 12.83 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 9.157e-05/0.4095, allocations: 124.1 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.4095, allocations: 4 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.4096, allocations: 7.562 kB / 0.7737 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4096, allocations: 7.938 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4096, allocations: 4 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4096, allocations: 0 / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.4099, allocations: 181.6 kB / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.41, allocations: 0 / 0.7739 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.41, allocations: 19.98 kB / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4101, allocations: 0 / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.4101, allocations: 0 / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4101, allocations: 4 kB / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4101, allocations: 0 / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.4104, allocations: 333.9 kB / 0.7742 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.4105, allocations: 81.11 kB / 0.7743 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.4105, allocations: 8.031 kB / 0.7743 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.4107, allocations: 0 / 0.7743 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.4107, allocations: 8 kB / 0.7743 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.4108, allocations: 7.938 kB / 0.7743 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.4108, allocations: 83.27 kB / 0.7744 GB, free: 11.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4108, allocations: 0 / 0.7744 GB, free: 11.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003123/0.4111, allocations: 16 kB / 0.7744 GB, free: 11.86 MB / 0.545 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.0001613/0.4113, allocations: 103.2 kB / 0.7745 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.4114, allocations: 51.78 kB / 0.7746 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4114, allocations: 8.25 kB / 0.7746 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.4115, allocations: 19.98 kB / 0.7746 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.4119, allocations: 10.5 kB / 0.7746 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.4126, allocations: 370 kB / 0.775 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.4128, allocations: 0.6845 MB / 0.7756 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.4129, allocations: 11.44 kB / 0.7756 GB, free: 10.54 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4129, allocations: 4 kB / 0.7756 GB, free: 10.54 MB / 0.545 GB Notification: Performance of Templates: time 0.002172/0.4151, allocations: 0.8032 MB / 0.7764 GB, free: 9.742 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)