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.1725/0.1745, allocations: 80.82 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.5233/0.6977, allocations: 182.7 MB / 0.7681 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009165/0.707, allocations: 6.468 MB / 0.7744 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.7083, allocations: 27.03 kB / 0.7744 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.7097, allocations: 425.2 kB / 0.7748 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005364/0.7151, allocations: 1.237 MB / 0.776 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.7189, allocations: 1.178 MB / 0.7772 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004215/0.7231, allocations: 3.243 MB / 0.7803 GB, free: 4.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009884/0.7241, allocations: 0.6184 MB / 0.7809 GB, free: 4.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.7262, allocations: 0.8858 MB / 0.7818 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.7276, allocations: 0.7209 MB / 0.7825 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.7278, allocations: 42.94 kB / 0.7825 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.7311, allocations: 1.76 MB / 0.7843 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.7316, allocations: 337 kB / 0.7846 GB, free: 2.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005702/0.7321, allocations: 475.1 kB / 0.785 GB, free: 1.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.7347, allocations: 1.919 MB / 0.7869 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7347, allocations: 0 / 0.7869 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.143e-06/0.7347, allocations: 0 / 0.7869 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.7348, allocations: 2.844 kB / 0.7869 GB, free: 0.7461 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.002099/0.7369, allocations: 1.257 MB / 0.7881 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7369, allocations: 10.84 kB / 0.7881 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.7387, allocations: 253.7 kB / 0.7884 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009727/0.7397, allocations: 0.6042 MB / 0.789 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.7398, allocations: 45.78 kB / 0.789 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/0.7399, allocations: 65.84 kB / 0.7891 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.7414, allocations: 0.8116 MB / 0.7899 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.7414, allocations: 3.938 kB / 0.7899 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.7415, allocations: 31.84 kB / 0.7899 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.7415, allocations: 23.78 kB / 0.7899 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.7428, allocations: 0.6591 MB / 0.7906 GB, free: 14.3 MB / 0.5606 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.003637/0.7465, allocations: 2.861 MB / 0.7934 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/0.7473, allocations: 428.6 kB / 0.7938 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.7477, allocations: 230.8 kB / 0.794 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003666/0.7481, allocations: 122.6 kB / 0.7941 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.7481, allocations: 43.14 kB / 0.7942 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.7481, allocations: 3.938 kB / 0.7942 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.001721/0.7499, allocations: 0.6633 MB / 0.7948 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.7499, allocations: 57 kB / 0.7949 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.7506, allocations: 0.6028 MB / 0.7955 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.7506, allocations: 34.98 kB / 0.7955 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.7509, allocations: 370.7 kB / 0.7958 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.751, allocations: 151.4 kB / 0.796 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.7512, allocations: 102.4 kB / 0.7961 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7513, allocations: 376.1 kB / 0.7964 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.7517, allocations: 196.9 kB / 0.7966 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.7522, allocations: 328.4 kB / 0.7969 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/0.753, allocations: 0.5077 MB / 0.7974 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.753, allocations: 0 / 0.7974 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001059/0.7541, allocations: 0.6007 MB / 0.798 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.7541, allocations: 8 kB / 0.798 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7541, allocations: 48 / 0.798 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.7542, allocations: 11.98 kB / 0.798 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.7561, allocations: 287.8 kB / 0.7983 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.7584, allocations: 1.54 MB / 0.7998 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.7593, allocations: 103.3 kB / 0.7999 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.7593, allocations: 23.94 kB / 0.7999 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006058/0.7599, allocations: 381.1 kB / 0.8003 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004012/0.7603, allocations: 311.7 kB / 0.8006 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000704/0.7611, allocations: 496.9 kB / 0.8011 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.7611, allocations: 0 / 0.8011 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61) (initialization_lambda0): time 0.0009643/0.762, allocations: 0.577 MB / 0.8016 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.7621, allocations: 8.344 kB / 0.8017 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.7621, allocations: 4 kB / 0.8017 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.7621, allocations: 8 kB / 0.8017 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.7626, allocations: 131.8 kB / 0.8018 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7627, allocations: 8 kB / 0.8018 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.7633, allocations: 72.3 kB / 0.8019 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.7634, allocations: 27.92 kB / 0.8019 GB, free: 3.984 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 (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.0002093/0.7636, allocations: 212.4 kB / 0.8021 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.7637, allocations: 75.19 kB / 0.8022 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.7648, allocations: 0.5033 MB / 0.8027 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.7648, allocations: 4 kB / 0.8027 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.7648, allocations: 4 kB / 0.8027 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008627/0.7656, allocations: 0.7455 MB / 0.8034 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.7676, allocations: 1.278 MB / 0.8046 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7676, allocations: 3.938 kB / 0.8046 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/0.7695, allocations: 279.7 kB / 0.8049 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.7695, allocations: 4 kB / 0.8049 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.7695, allocations: 8 kB / 0.8049 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.7716, allocations: 1.509 MB / 0.8064 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7717, allocations: 8.016 kB / 0.8064 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.7732, allocations: 0.8904 MB / 0.8073 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.7736, allocations: 212.3 kB / 0.8075 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/0.7737, allocations: 15.92 kB / 0.8075 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000633/0.7743, allocations: 67.78 kB / 0.8076 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.7744, allocations: 27.91 kB / 0.8076 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.7745, allocations: 23.98 kB / 0.8076 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004956/0.775, allocations: 431 kB / 0.808 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.775, allocations: 4 kB / 0.808 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001103/0.7761, allocations: 403.1 kB / 0.8084 GB, free: 12.95 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 (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.000462/0.7766, allocations: 186.2 kB / 0.8086 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002842/0.7794, allocations: 0.8955 MB / 0.8095 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.7795, allocations: 0 / 0.8095 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/0.7823, allocations: 0.5197 MB / 0.81 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.7845, allocations: 430.1 kB / 0.8104 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.7872, allocations: 1.802 MB / 0.8121 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.7877, allocations: 0.9772 MB / 0.8131 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008748/0.7886, allocations: 225.5 kB / 0.8133 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.7887, allocations: 59.42 kB / 0.8134 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.7887, allocations: 7.938 kB / 0.8134 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of Templates: time 0.02252/0.8113, allocations: 14.58 MB / 0.8276 GB, free: 9.43 MB / 0.5919 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)