Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001383/0.001383, 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.001674/0.001674, allocations: 177.3 kB / 15.95 MB, free: 216 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.334/1.334, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5611/0.5611, allocations: 95.58 MB / 366 MB, free: 10.41 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006189/0.0006193, allocations: 16 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3001, allocations: 70.33 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.4549/0.755, allocations: 162.9 MB / 0.6641 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00862/0.7637, allocations: 6.037 MB / 0.67 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.7654, allocations: 25.88 kB / 0.67 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.7669, allocations: 418.9 kB / 0.6704 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005256/0.7722, allocations: 1.366 MB / 0.6717 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004068/0.7763, allocations: 1.315 MB / 0.673 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.7785, allocations: 1.241 MB / 0.6742 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008349/0.7794, allocations: 0.5712 MB / 0.6748 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.7805, allocations: 0.646 MB / 0.6754 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.7812, allocations: 477.2 kB / 0.6759 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.7813, allocations: 43.59 kB / 0.6759 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/0.7849, allocations: 1.39 MB / 0.6773 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.7853, allocations: 296.2 kB / 0.6776 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.7856, allocations: 208.5 kB / 0.6778 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.788, allocations: 1.552 MB / 0.6793 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.788, allocations: 4 kB / 0.6793 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.788, allocations: 0 / 0.6793 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.788, allocations: 0 / 0.6793 GB, free: 0.8242 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002315/0.7903, allocations: 1.226 MB / 0.6805 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.7904, allocations: 12.36 kB / 0.6805 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.7907, allocations: 105.9 kB / 0.6806 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.7918, allocations: 0.6626 MB / 0.6812 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.7919, allocations: 53.78 kB / 0.6813 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.792, allocations: 64.88 kB / 0.6814 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.7935, allocations: 0.8732 MB / 0.6822 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.7935, allocations: 0 / 0.6822 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.7936, allocations: 29.22 kB / 0.6822 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.7936, allocations: 16.88 kB / 0.6822 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.7951, allocations: 0.8619 MB / 0.6831 GB, free: 15.36 MB / 0.4981 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.004935/0.8, allocations: 3.44 MB / 0.6864 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008417/0.8009, allocations: 465.2 kB / 0.6869 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.8021, allocations: 1.165 MB / 0.688 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.8021, allocations: 43.25 kB / 0.6881 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.434e-06/0.8021, allocations: 0 / 0.6881 GB, free: 11.82 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: vol.dynBal.medium.T 2: vol.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.005078/0.8072, allocations: 2.249 MB / 0.6903 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.8073, allocations: 56.75 kB / 0.6903 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009161/0.8082, allocations: 0.7291 MB / 0.691 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.8083, allocations: 39.45 kB / 0.6911 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.8086, allocations: 395.9 kB / 0.6915 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.8087, allocations: 160.1 kB / 0.6916 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.8088, allocations: 12.62 kB / 0.6916 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.8089, allocations: 384 kB / 0.692 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.8094, allocations: 260.9 kB / 0.6922 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.8099, allocations: 394.2 kB / 0.6926 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.8104, allocations: 315 kB / 0.6929 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.8105, allocations: 2.562 kB / 0.6929 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001222/0.8117, allocations: 0.7859 MB / 0.6937 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005777/0.8123, allocations: 1.318 MB / 0.695 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8123, allocations: 2.625 kB / 0.695 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.8123, allocations: 12.92 kB / 0.695 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/0.8133, allocations: 191.8 kB / 0.6952 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003703/0.8137, allocations: 0.5984 MB / 0.6957 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/0.8144, allocations: 72.91 kB / 0.6958 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.8145, allocations: 32.7 kB / 0.6958 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.8145, allocations: 1.656 kB / 0.6958 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/0.8156, allocations: 0.6933 MB / 0.6965 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.8157, allocations: 7.125 kB / 0.6965 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.8157, allocations: 5 kB / 0.6965 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.8163, allocations: 172.5 kB / 0.6967 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.8164, allocations: 8.906 kB / 0.6967 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.8169, allocations: 61.98 kB / 0.6968 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.817, allocations: 32.11 kB / 0.6968 GB, free: 7.402 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (76): * Single equations (assignments): 75 * 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.0004931/0.8175, allocations: 334.8 kB / 0.6971 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.8176, allocations: 76.56 kB / 0.6972 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.8191, allocations: 0.7988 MB / 0.698 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.8191, allocations: 8.922 kB / 0.698 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8191, allocations: 2.906 kB / 0.698 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.8191, allocations: 0 / 0.698 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008827/0.82, allocations: 0.7639 MB / 0.6987 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.82, allocations: 0 / 0.6987 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.8208, allocations: 149.6 kB / 0.6989 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004919/0.8213, allocations: 91.42 kB / 0.699 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.8213, allocations: 12.45 kB / 0.699 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000655/0.822, allocations: 1.16 MB / 0.7001 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.822, allocations: 0 / 0.7001 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.8238, allocations: 1.02 MB / 0.7011 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.8243, allocations: 254.9 kB / 0.7013 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.8244, allocations: 9.938 kB / 0.7014 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/0.825, allocations: 59.86 kB / 0.7014 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.8252, allocations: 35.91 kB / 0.7014 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.8253, allocations: 29.67 kB / 0.7015 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006756/0.8259, allocations: 0.5438 MB / 0.702 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8259, allocations: 0 / 0.702 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001826/0.8278, allocations: 0.6631 MB / 0.7026 GB, free: 4.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/0.8295, allocations: 0.5879 MB / 0.7032 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002073/0.8315, allocations: 1.037 MB / 0.7042 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.8316, allocations: 2.812 kB / 0.7042 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008107/0.8324, allocations: 363.7 kB / 0.7046 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.8343, allocations: 426.5 kB / 0.705 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.8376, allocations: 2.029 MB / 0.707 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.8383, allocations: 1.022 MB / 0.708 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001086/0.8394, allocations: 254.1 kB / 0.7082 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.8396, allocations: 70.8 kB / 0.7083 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.8396, allocations: 0 / 0.7083 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of Templates: time 0.03675/0.8764, allocations: 22.08 MB / 0.7298 GB, free: 11.17 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: