Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1672/0.1693, allocations: 80.84 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.6543/0.8236, allocations: 184.9 MB / 0.8512 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009525/0.8332, allocations: 6.395 MB / 0.8574 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.8346, allocations: 29.69 kB / 0.8575 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.8362, allocations: 490.7 kB / 0.8579 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004207/0.8405, allocations: 1.304 MB / 0.8592 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.8447, allocations: 1.298 MB / 0.8605 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.8486, allocations: 2.312 MB / 0.8627 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.8501, allocations: 0.7472 MB / 0.8634 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.8528, allocations: 1.008 MB / 0.8644 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.8551, allocations: 0.6813 MB / 0.8651 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004083/0.8555, allocations: 84.06 kB / 0.8652 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005594/0.8611, allocations: 1.616 MB / 0.8668 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009857/0.8621, allocations: 367.1 kB / 0.8671 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.8638, allocations: 0.5134 MB / 0.8676 GB, free: 356 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.8689, allocations: 1.893 MB / 0.8695 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.8689, allocations: 0 / 0.8695 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8689, allocations: 0 / 0.8695 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.342e-05/0.869, allocations: 0 / 0.8695 GB, free: 14.45 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003599/0.8726, allocations: 1.262 MB / 0.8707 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.8727, allocations: 8.031 kB / 0.8707 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.8748, allocations: 254.8 kB / 0.8709 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.8764, allocations: 0.6299 MB / 0.8716 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.8765, allocations: 49.31 kB / 0.8716 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.8767, allocations: 71.94 kB / 0.8717 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.8787, allocations: 0.8137 MB / 0.8725 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.8788, allocations: 0 / 0.8725 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.74e-05/0.8789, allocations: 28 kB / 0.8725 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.301e-05/0.8789, allocations: 21.31 kB / 0.8725 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.8805, allocations: 0.6609 MB / 0.8732 GB, free: 10.55 MB / 0.6387 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.004808/0.8853, allocations: 2.855 MB / 0.8759 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009363/0.8863, allocations: 431.8 kB / 0.8764 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.8867, allocations: 233.2 kB / 0.8766 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.8871, allocations: 129.4 kB / 0.8767 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.8871, allocations: 38.89 kB / 0.8767 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=40): time 1.036e-05/0.8871, allocations: 3.984 kB / 0.8767 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of matching and sorting (n=40): time 0.001945/0.8891, allocations: 0.6776 MB / 0.8774 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.8892, allocations: 55.41 kB / 0.8775 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008911/0.8901, allocations: 0.5978 MB / 0.878 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.926e-05/0.8902, allocations: 41.64 kB / 0.8781 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.8905, allocations: 368 kB / 0.8784 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.8907, allocations: 141.9 kB / 0.8786 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.8909, allocations: 106.2 kB / 0.8787 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8911, allocations: 374.7 kB / 0.879 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.8915, allocations: 205.3 kB / 0.8792 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/0.892, allocations: 327.6 kB / 0.8795 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009039/0.8929, allocations: 0.5009 MB / 0.88 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.8929, allocations: 0 / 0.88 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001204/0.8941, allocations: 0.6084 MB / 0.8806 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.8942, allocations: 8 kB / 0.8806 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.8942, allocations: 4 kB / 0.8806 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.8942, allocations: 4 kB / 0.8806 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.896, allocations: 291.8 kB / 0.8809 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.8987, allocations: 1.646 MB / 0.8825 GB, free: 400 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.8995, allocations: 71.34 kB / 0.8826 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.8996, allocations: 16 kB / 0.8826 GB, free: 312 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007002/0.9003, allocations: 385.1 kB / 0.883 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000552/0.9009, allocations: 311.7 kB / 0.8833 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008451/0.9017, allocations: 494 kB / 0.8837 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.9017, allocations: 0 / 0.8837 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.001116/0.9029, allocations: 0.5811 MB / 0.8843 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.9029, allocations: 8 kB / 0.8843 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.9029, allocations: 4 kB / 0.8843 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.924e-06/0.9029, allocations: 4 kB / 0.8843 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/0.9035, allocations: 139.7 kB / 0.8845 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.9035, allocations: 4.312 kB / 0.8845 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.9042, allocations: 55.56 kB / 0.8845 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.9042, allocations: 20 kB / 0.8845 GB, free: 14.23 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (61): * Single equations (assignments): 60 * 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.0002598/0.9045, allocations: 204.8 kB / 0.8847 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.9047, allocations: 71.23 kB / 0.8848 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.9058, allocations: 0.5116 MB / 0.8853 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.9059, allocations: 8 kB / 0.8853 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.9059, allocations: 0 / 0.8853 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009512/0.9068, allocations: 0.7393 MB / 0.886 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.9092, allocations: 1.298 MB / 0.8873 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.9092, allocations: 4 kB / 0.8873 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.9108, allocations: 271.8 kB / 0.8876 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.9109, allocations: 0 / 0.8876 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.9109, allocations: 19.98 kB / 0.8876 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.9132, allocations: 1.623 MB / 0.8892 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9132, allocations: 0 / 0.8892 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.9147, allocations: 0.8754 MB / 0.89 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.9152, allocations: 208.2 kB / 0.8902 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.9154, allocations: 15.94 kB / 0.8902 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.916, allocations: 31.95 kB / 0.8903 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/0.9161, allocations: 23.97 kB / 0.8903 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.9162, allocations: 31.97 kB / 0.8903 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006326/0.9169, allocations: 435 kB / 0.8907 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9169, allocations: 0 / 0.8907 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001375/0.9182, allocations: 407.1 kB / 0.8911 GB, free: 7.129 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (40): * Single equations (assignments): 39 * 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.0007152/0.919, allocations: 193.4 kB / 0.8913 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003068/0.922, allocations: 0.8952 MB / 0.8922 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.9221, allocations: 0 / 0.8922 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.9247, allocations: 0.5242 MB / 0.8927 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.9271, allocations: 452.4 kB / 0.8931 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.9302, allocations: 1.509 MB / 0.8946 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/0.9309, allocations: 0.981 MB / 0.8955 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008101/0.9317, allocations: 217.5 kB / 0.8958 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.932, allocations: 59.44 kB / 0.8958 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.932, allocations: 4 kB / 0.8958 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of Templates: time 0.02718/0.9592, allocations: 15.25 MB / 0.9107 GB, free: 3.16 MB / 0.67 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)