Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.65/1.65, allocations: 288.2 MB / 303.2 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 182.6 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 95.48 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004668, allocations: 15.02 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2597, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001573/0.2614, allocations: 0.9651 MB / 0.9804 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.264, allocations: 1.893 MB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.2641, allocations: 0 / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.2641, allocations: 11.92 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.2642, allocations: 7.984 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.2648, allocations: 103.7 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.715e-05/0.2648, allocations: 27.91 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.2649, allocations: 4 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.27e-05/0.2649, allocations: 19.97 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.265, allocations: 19.92 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.265, allocations: 0 / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.2654, allocations: 107.9 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.2654, allocations: 11.98 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.2654, allocations: 29.7 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.2656, allocations: 48.11 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2656, allocations: 0 / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2656, allocations: 4 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2656, allocations: 0 / 0.9826 GB, free: 24.33 MB / 0.6198 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.0003777/0.266, allocations: 339.4 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2661, allocations: 12.02 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.2661, allocations: 38.55 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.2664, allocations: 23.84 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.848e-05/0.2665, allocations: 167 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.2665, allocations: 7.938 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.2665, allocations: 8 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2667, allocations: 64.27 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2667, allocations: 0 / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2667, allocations: 4 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2667, allocations: 3.984 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.2668, allocations: 15.89 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.2674, allocations: 470.9 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.2675, allocations: 67.66 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.2675, allocations: 7.938 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2675, allocations: 34.69 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.2675, allocations: 0 / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006035/0.2682, allocations: 306.2 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.2682, allocations: 107.1 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.428e-05/0.2683, allocations: 102.2 kB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2683, allocations: 33.64 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.2683, allocations: 84.05 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.2683, allocations: 27.56 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2684, allocations: 4 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.2684, allocations: 314.8 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.2684, allocations: 12 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.2685, allocations: 57.08 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.2685, allocations: 24.17 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2685, allocations: 0 / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001122/0.2687, allocations: 97.64 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2687, allocations: 4 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2687, allocations: 11.94 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2687, allocations: 0 / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.2688, allocations: 16 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2688, allocations: 7.938 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.2689, allocations: 0 / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2689, allocations: 4 kB / 0.985 GB, free: 21.57 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/0.2689, allocations: 117.8 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.269, allocations: 11.94 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.269, allocations: 7.562 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2691, allocations: 7.953 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.2691, allocations: 0 / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2691, allocations: 0 / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.2694, allocations: 177.6 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2694, allocations: 4 kB / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.074e-05/0.2695, allocations: 19.92 kB / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2695, allocations: 0 / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2695, allocations: 7.938 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2695, allocations: 64 / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.2695, allocations: 11.95 kB / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.2698, allocations: 349.4 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.2698, allocations: 85.06 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2698, allocations: 4 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.27, allocations: 12.03 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.27, allocations: 3.938 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.27, allocations: 4 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.033e-05/0.2701, allocations: 83.28 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2701, allocations: 0 / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002973/0.2704, allocations: 8 kB / 0.9859 GB, free: 20.57 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003813/0.2708, allocations: 1.039 MB / 0.9869 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.2709, allocations: 44.05 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2709, allocations: 0 / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.2709, allocations: 15.94 kB / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.2712, allocations: 8 kB / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2723, allocations: 1.445 MB / 0.9884 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.2724, allocations: 0.6926 MB / 0.989 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.401e-05/0.2725, allocations: 8 kB / 0.9891 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.2725, allocations: 19.48 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.2725, allocations: 0 / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.251/1.524, allocations: 1.458 MB / 0.9905 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/1.524, allocations: 226.4 kB / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/3.403, allocations: 4 kB / 0.9907 GB, free: 15.68 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)