Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001218/0.001218, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.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.001504/0.001504, allocations: 72.83 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2617, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8019/1.064, allocations: 185 MB / 0.9641 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01098/1.075, allocations: 6.958 MB / 0.9709 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/1.077, allocations: 28.69 kB / 0.9709 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001441/1.078, allocations: 399.2 kB / 0.9713 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004835/1.083, allocations: 1.436 MB / 0.9727 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/1.087, allocations: 1.162 MB / 0.9738 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003649/1.091, allocations: 1.921 MB / 0.9757 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/1.092, allocations: 0.658 MB / 0.9763 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/1.094, allocations: 0.8182 MB / 0.9771 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/1.096, allocations: 0.5966 MB / 0.9777 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/1.096, allocations: 72.03 kB / 0.9778 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005404/1.101, allocations: 1.925 MB / 0.9796 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005026/1.102, allocations: 289.8 kB / 0.9799 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007536/1.102, allocations: 434.3 kB / 0.9803 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004549/1.107, allocations: 1.751 MB / 0.9821 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.107, allocations: 2.312 kB / 0.9821 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/1.107, allocations: 0 / 0.9821 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.107, allocations: 0 / 0.9821 GB, free: 12.46 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002155/1.109, allocations: 1.16 MB / 0.9832 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.109, allocations: 9.312 kB / 0.9832 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/1.111, allocations: 271.1 kB / 0.9835 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009963/1.112, allocations: 0.5837 MB / 0.984 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/1.112, allocations: 38.47 kB / 0.9841 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/1.112, allocations: 64.5 kB / 0.9841 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/1.114, allocations: 0.6323 MB / 0.9847 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.114, allocations: 5.312 kB / 0.9847 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/1.114, allocations: 21.09 kB / 0.9848 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/1.114, allocations: 19 kB / 0.9848 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009362/1.115, allocations: 0.5194 MB / 0.9853 GB, free: 10.26 MB / 0.7325 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.003158/1.118, allocations: 2.463 MB / 0.9877 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/1.118, allocations: 380.5 kB / 0.9881 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/1.119, allocations: 234.9 kB / 0.9883 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/1.119, allocations: 303.5 kB / 0.9886 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/1.119, allocations: 38.56 kB / 0.9886 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.314e-06/1.119, allocations: 2.094 kB / 0.9886 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001339/1.121, allocations: 0.6101 MB / 0.9892 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/1.121, allocations: 57.94 kB / 0.9893 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/1.121, allocations: 0.4926 MB / 0.9897 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/1.121, allocations: 40.75 kB / 0.9898 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/1.122, allocations: 327.5 kB / 0.9901 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/1.122, allocations: 134.9 kB / 0.9902 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/1.122, allocations: 88.77 kB / 0.9903 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.122, allocations: 368.1 kB / 0.9907 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/1.122, allocations: 169.6 kB / 0.9908 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/1.123, allocations: 290.9 kB / 0.9911 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/1.124, allocations: 452.3 kB / 0.9915 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.124, allocations: 0 / 0.9915 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008863/1.125, allocations: 0.5237 MB / 0.992 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.125, allocations: 8.062 kB / 0.992 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.125, allocations: 5.781 kB / 0.9921 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.125, allocations: 5.719 kB / 0.9921 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/1.125, allocations: 133 kB / 0.9922 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003851/1.126, allocations: 0.5894 MB / 0.9928 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/1.126, allocations: 62.28 kB / 0.9928 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/1.126, allocations: 22.48 kB / 0.9928 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005222/1.127, allocations: 349.4 kB / 0.9932 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003914/1.127, allocations: 291.5 kB / 0.9935 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006772/1.128, allocations: 446.3 kB / 0.9939 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/1.128, allocations: 0 / 0.9939 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008811/1.129, allocations: 0.5242 MB / 0.9944 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/1.129, allocations: 7.062 kB / 0.9944 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.129, allocations: 7 kB / 0.9944 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/1.129, allocations: 2.719 kB / 0.9944 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/1.129, allocations: 117.1 kB / 0.9945 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.129, allocations: 10.08 kB / 0.9945 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/1.13, allocations: 42.67 kB / 0.9946 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/1.13, allocations: 20.27 kB / 0.9946 GB, free: 3.336 MB / 0.7325 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.0001853/1.13, allocations: 207 kB / 0.9948 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/1.13, allocations: 64.72 kB / 0.9948 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008625/1.131, allocations: 489 kB / 0.9953 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/1.131, allocations: 4.406 kB / 0.9953 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.131, allocations: 0 / 0.9953 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000757/1.132, allocations: 0.6985 MB / 0.996 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/1.134, allocations: 1.276 MB / 0.9972 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.134, allocations: 2.281 kB / 0.9972 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/1.135, allocations: 138.2 kB / 0.9974 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/1.135, allocations: 4.719 kB / 0.9974 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/1.135, allocations: 9.062 kB / 0.9974 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003154/1.135, allocations: 0.5956 MB / 0.998 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.135, allocations: 3.984 kB / 0.998 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/1.136, allocations: 0.8238 MB / 0.9988 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/1.136, allocations: 185.5 kB / 0.999 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/1.137, allocations: 13.03 kB / 0.999 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/1.137, allocations: 19.08 kB / 0.999 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/1.137, allocations: 35.05 kB / 0.999 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/1.137, allocations: 14.11 kB / 0.999 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004163/1.137, allocations: 354.7 kB / 0.9994 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/1.138, allocations: 0 / 0.9994 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001053/1.139, allocations: 352.6 kB / 0.9997 GB, free: 15.63 MB / 0.7481 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.0005238/1.139, allocations: 211.4 kB / 0.9999 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00157/1.141, allocations: 0.7156 MB / 1.001 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.141, allocations: 0 / 1.001 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004068/1.141, allocations: 224.3 kB / 1.001 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.143, allocations: 359.8 kB / 1.001 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/1.145, allocations: 1.387 MB / 1.003 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/1.146, allocations: 0.9535 MB / 1.003 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000733/1.147, allocations: 199.4 kB / 1.004 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.147, allocations: 51.78 kB / 1.004 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/1.147, allocations: 0 / 1.004 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.02253/1.169, allocations: 12.42 MB / 1.016 GB, free: 6.988 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)