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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009072/0.0009072, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001248/0.001248, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.6/1.6, allocations: 251.9 MB / 0.51 GB, free: 4.812 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005889/0.0005892, allocations: 19.59 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6965, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1963/0.8929, allocations: 154.1 MB / 0.8785 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.9045, allocations: 6.566 MB / 0.8849 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.9058, allocations: 19.88 kB / 0.8849 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.9075, allocations: 430 kB / 0.8853 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.9123, allocations: 1.313 MB / 0.8866 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.9161, allocations: 1.079 MB / 0.8877 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.9185, allocations: 1.151 MB / 0.8888 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008551/0.9194, allocations: 0.5118 MB / 0.8893 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.9209, allocations: 0.6269 MB / 0.8899 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.9215, allocations: 382.5 kB / 0.8903 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.9216, allocations: 28 kB / 0.8903 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.9242, allocations: 0.8813 MB / 0.8912 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.9245, allocations: 243.3 kB / 0.8914 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.9247, allocations: 185.3 kB / 0.8916 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.9261, allocations: 1.025 MB / 0.8926 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.9261, allocations: 0 / 0.8926 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9262, allocations: 0 / 0.8926 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.9262, allocations: 0 / 0.8926 GB, free: 2.402 MB / 0.7012 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.001772/0.9279, allocations: 0.9855 MB / 0.8935 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.928, allocations: 8.031 kB / 0.8935 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/0.9298, allocations: 278.8 kB / 0.8938 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.9309, allocations: 0.5639 MB / 0.8944 GB, free: 492 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.9309, allocations: 37.31 kB / 0.8944 GB, free: 452 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.421e-05/0.931, allocations: 60 kB / 0.8944 GB, free: 392 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.9321, allocations: 0.6324 MB / 0.8951 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.9322, allocations: 3.938 kB / 0.8951 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/0.9322, allocations: 24 kB / 0.8951 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.9323, allocations: 21.31 kB / 0.8951 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009365/0.9332, allocations: 0.5282 MB / 0.8956 GB, free: 15.16 MB / 0.7169 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.003305/0.9365, allocations: 2.453 MB / 0.898 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.9372, allocations: 386 kB / 0.8984 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003853/0.9376, allocations: 145.4 kB / 0.8985 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.9376, allocations: 34.89 kB / 0.8986 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 2.615e-06/0.9376, allocations: 7.938 kB / 0.8986 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.001537/0.9392, allocations: 0.6193 MB / 0.8992 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.9392, allocations: 59.41 kB / 0.8992 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.9398, allocations: 498.9 kB / 0.8997 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.9399, allocations: 33.7 kB / 0.8997 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.9401, allocations: 324.4 kB / 0.9001 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.9403, allocations: 137.9 kB / 0.9002 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.9403, allocations: 12 kB / 0.9002 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9405, allocations: 362.8 kB / 0.9005 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.9408, allocations: 172.8 kB / 0.9007 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.9412, allocations: 279.4 kB / 0.901 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.9415, allocations: 203.9 kB / 0.9012 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9415, allocations: 0 / 0.9012 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008956/0.9424, allocations: 0.5319 MB / 0.9017 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000373/0.9428, allocations: 0.873 MB / 0.9025 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.9428, allocations: 4 kB / 0.9025 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.9429, allocations: 4 kB / 0.9025 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007783/0.9437, allocations: 151.7 kB / 0.9027 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004567/0.9441, allocations: 0.5938 MB / 0.9033 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/0.9448, allocations: 79.58 kB / 0.9033 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.9449, allocations: 20 kB / 0.9034 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.9449, allocations: 5.875 kB / 0.9034 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008057/0.9457, allocations: 467.8 kB / 0.9038 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.9457, allocations: 4 kB / 0.9038 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.9457, allocations: 8.219 kB / 0.9038 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.9462, allocations: 131.8 kB / 0.904 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.9463, allocations: 4 kB / 0.904 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/0.9468, allocations: 75.55 kB / 0.904 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.9469, allocations: 20 kB / 0.904 GB, free: 6.109 MB / 0.7169 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004344/0.9473, allocations: 316.9 kB / 0.9044 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.25e-05/0.9474, allocations: 55.34 kB / 0.9044 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008738/0.9483, allocations: 490.9 kB / 0.9049 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9483, allocations: 4 kB / 0.9049 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9483, allocations: 4 kB / 0.9049 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008062/0.9491, allocations: 0.7027 MB / 0.9056 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.9512, allocations: 1.285 MB / 0.9068 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9512, allocations: 8.031 kB / 0.9068 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/0.9518, allocations: 131.8 kB / 0.907 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.9519, allocations: 4 kB / 0.907 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.9519, allocations: 12 kB / 0.907 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003537/0.9523, allocations: 0.6016 MB / 0.9076 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9523, allocations: 0 / 0.9076 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.9535, allocations: 0.9119 MB / 0.9084 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.9538, allocations: 184.3 kB / 0.9086 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/0.9539, allocations: 16 kB / 0.9086 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.9544, allocations: 57.22 kB / 0.9087 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.9545, allocations: 31.95 kB / 0.9087 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.9546, allocations: 12 kB / 0.9087 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004181/0.955, allocations: 342.8 kB / 0.9091 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.955, allocations: 4 kB / 0.9091 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001/0.956, allocations: 363.1 kB / 0.9094 GB, free: 320 kB / 0.7169 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005397/0.9565, allocations: 215.7 kB / 0.9096 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.5416/1.498, allocations: 0.6635 MB / 0.9103 GB, free: 22.54 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/1.498, allocations: 2.812 kB / 0.9103 GB, free: 22.54 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000578/1.499, allocations: 222.5 kB / 0.9105 GB, free: 22.54 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.501, allocations: 353.1 kB / 0.9108 GB, free: 22.53 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/1.504, allocations: 1.71 MB / 0.9125 GB, free: 21.72 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/1.504, allocations: 0.9608 MB / 0.9134 GB, free: 21.01 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008822/1.505, allocations: 205.4 kB / 0.9136 GB, free: 20.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/1.505, allocations: 50.39 kB / 0.9137 GB, free: 20.97 MB / 0.7169 GB Notification: Performance of SimCode: time 1.323e-06/1.505, allocations: 0 / 0.9137 GB, free: 20.97 MB / 0.7169 GB Notification: Performance of Templates: time 0.02626/1.532, allocations: 11.59 MB / 0.925 GB, free: 20.29 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: