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.1521/0.1528, allocations: 82.21 MB / 0.5934 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.462/0.6148, allocations: 153.9 MB / 0.7436 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00861/0.6235, allocations: 5.997 MB / 0.7495 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008553/0.6244, allocations: 23.81 kB / 0.7495 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.6256, allocations: 422.1 kB / 0.7499 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003127/0.6287, allocations: 1.13 MB / 0.751 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.6313, allocations: 0.9776 MB / 0.752 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.6334, allocations: 1.324 MB / 0.7532 GB, free: 8.379 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007694/0.6342, allocations: 0.5616 MB / 0.7538 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.6357, allocations: 0.7749 MB / 0.7545 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005826/0.6363, allocations: 442.3 kB / 0.755 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.653e-05/0.6364, allocations: 36 kB / 0.755 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.638, allocations: 0.663 MB / 0.7557 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.6383, allocations: 295.2 kB / 0.7559 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.6385, allocations: 205.3 kB / 0.7561 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.6397, allocations: 1.123 MB / 0.7572 GB, free: 4.281 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.6398, allocations: 0 / 0.7572 GB, free: 4.281 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6398, allocations: 0 / 0.7572 GB, free: 4.281 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.6398, allocations: 4 kB / 0.7572 GB, free: 4.277 MB / 0.545 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.001683/0.6415, allocations: 1.055 MB / 0.7583 GB, free: 3.172 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6415, allocations: 8.828 kB / 0.7583 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.6431, allocations: 258.7 kB / 0.7585 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.6441, allocations: 0.5951 MB / 0.7591 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.6441, allocations: 49.31 kB / 0.7591 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.6442, allocations: 64 kB / 0.7592 GB, free: 2.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.6457, allocations: 0.8157 MB / 0.76 GB, free: 1.332 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6457, allocations: 0 / 0.76 GB, free: 1.332 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/0.6458, allocations: 28 kB / 0.76 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.6459, allocations: 21.31 kB / 0.76 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.6472, allocations: 0.6765 MB / 0.7607 GB, free: 0.6055 MB / 0.545 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.00389/0.6511, allocations: 2.878 MB / 0.7635 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008387/0.6519, allocations: 435.8 kB / 0.7639 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.6523, allocations: 133.4 kB / 0.7641 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.6524, allocations: 38.89 kB / 0.7641 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 3.707e-06/0.6524, allocations: 4 kB / 0.7641 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.001746/0.6541, allocations: 0.7079 MB / 0.7648 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.6542, allocations: 59.41 kB / 0.7649 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.6549, allocations: 0.5939 MB / 0.7654 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.655, allocations: 37.7 kB / 0.7655 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.6552, allocations: 372 kB / 0.7658 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.6554, allocations: 145.9 kB / 0.766 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.6554, allocations: 8 kB / 0.766 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.6555, allocations: 370.8 kB / 0.7663 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.6559, allocations: 205 kB / 0.7665 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.6564, allocations: 327.7 kB / 0.7668 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.6568, allocations: 244.7 kB / 0.7671 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.6569, allocations: 8 kB / 0.7671 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001067/0.6579, allocations: 0.6125 MB / 0.7677 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004472/0.6584, allocations: 1.052 MB / 0.7687 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6584, allocations: 7.953 kB / 0.7687 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6584, allocations: 8 kB / 0.7687 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.6602, allocations: 359.6 kB / 0.7691 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.6626, allocations: 1.649 MB / 0.7707 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.6633, allocations: 103.4 kB / 0.7708 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.6634, allocations: 20 kB / 0.7708 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.6634, allocations: 4 kB / 0.7708 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008336/0.6642, allocations: 0.5055 MB / 0.7713 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6642, allocations: 8.031 kB / 0.7713 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.6643, allocations: 4 kB / 0.7713 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.6648, allocations: 143.8 kB / 0.7714 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.6648, allocations: 4 kB / 0.7714 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.6653, allocations: 91.39 kB / 0.7715 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.6654, allocations: 24 kB / 0.7715 GB, free: 4.906 MB / 0.5606 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 (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.0003953/0.6658, allocations: 332.3 kB / 0.7719 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.6659, allocations: 67.25 kB / 0.7719 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009275/0.6668, allocations: 0.527 MB / 0.7724 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6668, allocations: 4 kB / 0.7724 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.6668, allocations: 0 / 0.7724 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008789/0.6677, allocations: 0.7572 MB / 0.7732 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.6696, allocations: 1.309 MB / 0.7745 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6696, allocations: 4 kB / 0.7745 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.6712, allocations: 339.8 kB / 0.7748 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.6712, allocations: 4 kB / 0.7748 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.6713, allocations: 15.94 kB / 0.7748 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.6733, allocations: 1.611 MB / 0.7764 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6734, allocations: 4.031 kB / 0.7764 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.6748, allocations: 0.9823 MB / 0.7773 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.6751, allocations: 212.2 kB / 0.7775 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/0.6752, allocations: 15.95 kB / 0.7776 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.6758, allocations: 71.78 kB / 0.7776 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.6759, allocations: 24.06 kB / 0.7777 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/0.676, allocations: 31.95 kB / 0.7777 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004755/0.6765, allocations: 427 kB / 0.7781 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6765, allocations: 0 / 0.7781 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001034/0.6775, allocations: 407.1 kB / 0.7785 GB, free: 13.4 MB / 0.5762 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 (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.0004038/0.6779, allocations: 186.9 kB / 0.7787 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.6805, allocations: 0.9702 MB / 0.7796 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6805, allocations: 4.312 kB / 0.7796 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.683, allocations: 0.6167 MB / 0.7802 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.6848, allocations: 426.4 kB / 0.7806 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.6874, allocations: 1.858 MB / 0.7824 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.6879, allocations: 0.9888 MB / 0.7834 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007556/0.6887, allocations: 217.5 kB / 0.7836 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.6888, allocations: 59.42 kB / 0.7837 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.6888, allocations: 0 / 0.7837 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of Templates: time 0.02211/0.7109, allocations: 14.03 MB / 0.7974 GB, free: 10.2 MB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: