Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 179 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007016/0.0007015, allocations: 88.86 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 8.875 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2306, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6913/0.922, allocations: 180.6 MB / 1.078 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.9342, allocations: 7.032 MB / 1.085 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.9356, allocations: 23.81 kB / 1.085 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.937, allocations: 335.4 kB / 1.085 GB, free: 1.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005024/0.942, allocations: 1.367 MB / 1.086 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.9462, allocations: 1.072 MB / 1.087 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004569/0.9508, allocations: 2.774 MB / 1.09 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.952, allocations: 0.5488 MB / 1.091 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.9544, allocations: 0.7422 MB / 1.091 GB, free: 1.395 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.9564, allocations: 0.606 MB / 1.092 GB, free: 1.395 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.9566, allocations: 33.41 kB / 1.092 GB, free: 1.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005775/0.9624, allocations: 2.187 MB / 1.094 GB, free: 1.371 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.963, allocations: 255.6 kB / 1.094 GB, free: 1.367 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000941/0.9639, allocations: 410.9 kB / 1.095 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.9667, allocations: 1.277 MB / 1.096 GB, free: 1.242 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.9667, allocations: 0 / 1.096 GB, free: 1.242 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9667, allocations: 0 / 1.096 GB, free: 1.242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.9668, allocations: 0 / 1.096 GB, free: 1.242 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002034/0.9688, allocations: 1.02 MB / 1.097 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9689, allocations: 9.125 kB / 1.097 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.9708, allocations: 270.2 kB / 1.097 GB, free: 16.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/0.9717, allocations: 0.5814 MB / 1.098 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.9718, allocations: 46.06 kB / 1.098 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/0.9719, allocations: 56.75 kB / 1.098 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.9731, allocations: 0.6449 MB / 1.099 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.9732, allocations: 3.141 kB / 1.099 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-05/0.9733, allocations: 24.81 kB / 1.099 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.9733, allocations: 18.47 kB / 1.099 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009032/0.9742, allocations: 0.5372 MB / 1.099 GB, free: 16.16 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/0.9776, allocations: 2.459 MB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.9782, allocations: 377.2 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.9785, allocations: 241.3 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006015/0.9791, allocations: 323.5 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.9792, allocations: 40.28 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 3.266e-06/0.9792, allocations: 4 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.001451/0.9806, allocations: 0.6293 MB / 1.103 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.9807, allocations: 58.19 kB / 1.103 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/0.9814, allocations: 0.4913 MB / 1.104 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.9815, allocations: 40.02 kB / 1.104 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.9818, allocations: 317.4 kB / 1.104 GB, free: 14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.982, allocations: 146.2 kB / 1.104 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/0.9821, allocations: 3.688 kB / 1.104 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002364/0.9823, allocations: 369.7 kB / 1.104 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.9826, allocations: 168 kB / 1.105 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.9831, allocations: 281.9 kB / 1.105 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/0.9839, allocations: 458.8 kB / 1.105 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9839, allocations: 4 kB / 1.105 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00101/0.9849, allocations: 0.5245 MB / 1.106 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.9851, allocations: 161.3 kB / 1.106 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.9851, allocations: 5.188 kB / 1.106 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.9852, allocations: 3.062 kB / 1.106 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.986, allocations: 149.3 kB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005312/0.9865, allocations: 0.5858 MB / 1.107 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/0.9874, allocations: 81.77 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.9874, allocations: 17.97 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.9874, allocations: 3.312 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008365/0.9883, allocations: 467.7 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.9883, allocations: 3.25 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.9883, allocations: 2.875 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.9888, allocations: 130.9 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.9888, allocations: 8.906 kB / 1.107 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.9895, allocations: 79.5 kB / 1.107 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.9895, allocations: 20.2 kB / 1.107 GB, free: 12.49 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006166/0.9902, allocations: 314.9 kB / 1.108 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.9903, allocations: 56.62 kB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009574/0.9912, allocations: 485.4 kB / 1.108 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.9913, allocations: 6.859 kB / 1.108 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9913, allocations: 0 / 1.108 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008282/0.9921, allocations: 0.7168 MB / 1.109 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.9942, allocations: 1.292 MB / 1.11 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.9942, allocations: 6.375 kB / 1.11 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.9949, allocations: 136.7 kB / 1.11 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.9949, allocations: 5.812 kB / 1.11 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.9949, allocations: 12.69 kB / 1.11 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003535/0.9953, allocations: 0.5981 MB / 1.111 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9953, allocations: 2.906 kB / 1.111 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.9965, allocations: 0.8342 MB / 1.112 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.9968, allocations: 185.7 kB / 1.112 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.339e-05/0.9969, allocations: 9.75 kB / 1.112 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.9974, allocations: 58.92 kB / 1.112 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.9975, allocations: 29.66 kB / 1.112 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.9976, allocations: 16.06 kB / 1.112 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004057/0.998, allocations: 349.8 kB / 1.112 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.998, allocations: 0 / 1.112 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001069/0.9991, allocations: 373.3 kB / 1.113 GB, free: 10.28 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005325/0.9996, allocations: 195.8 kB / 1.113 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00146/1.001, allocations: 0.6829 MB / 1.114 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.001, allocations: 4.062 kB / 1.114 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004047/1.002, allocations: 226.8 kB / 1.114 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/1.003, allocations: 366.8 kB / 1.114 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/1.006, allocations: 1.769 MB / 1.116 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/1.006, allocations: 0.9424 MB / 1.117 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/1.007, allocations: 57.2 kB / 1.117 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/1.007, allocations: 0 / 1.117 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of Templates: time 0.02258/1.029, allocations: 12.89 MB / 1.13 GB, free: 4.367 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)