Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001468/0.001467, allocations: 172.7 kB / 15.95 MB, free: 208 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.805/1.805, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.6487/0.6487, allocations: 95.62 MB / 366 MB, free: 10.38 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.0005841/0.0005841, allocations: 16 kB / 446.9 MB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4025, allocations: 70.33 MB / 0.5051 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.608/1.011, allocations: 170.9 MB / 0.6719 GB, free: 500 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008399/1.019, allocations: 8.172 MB / 0.6799 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/1.02, allocations: 17.28 kB / 0.6799 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007288/1.02, allocations: 194.8 kB / 0.6801 GB, free: 15.84 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001185/1.021, allocations: 459.8 kB / 0.6806 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/1.025, allocations: 0.9274 MB / 0.6815 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001685/1.026, allocations: 1.335 MB / 0.6828 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/1.027, allocations: 292.2 kB / 0.683 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/1.027, allocations: 415.2 kB / 0.6834 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/1.028, allocations: 349.8 kB / 0.6838 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/1.028, allocations: 17.5 kB / 0.6838 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/1.03, allocations: 0.8515 MB / 0.6846 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/1.03, allocations: 167.2 kB / 0.6848 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/1.03, allocations: 127.2 kB / 0.6849 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/1.031, allocations: 0.8952 MB / 0.6858 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.032, allocations: 0 / 0.6858 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/1.032, allocations: 0 / 0.6858 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.864e-06/1.032, allocations: 2.031 kB / 0.6858 GB, free: 14.6 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00165/1.033, allocations: 0.8411 MB / 0.6866 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/1.033, allocations: 19.3 kB / 0.6866 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/1.033, allocations: 59.88 kB / 0.6867 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/1.034, allocations: 389.3 kB / 0.687 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/1.034, allocations: 25 kB / 0.6871 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/1.034, allocations: 38.67 kB / 0.6871 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008618/1.035, allocations: 0.507 MB / 0.6876 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/1.035, allocations: 3.938 kB / 0.6876 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/1.035, allocations: 16.66 kB / 0.6876 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.035, allocations: 9.625 kB / 0.6876 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/1.036, allocations: 446.1 kB / 0.6881 GB, free: 13.3 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.002803/1.039, allocations: 2.456 MB / 0.6905 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/1.039, allocations: 148.3 kB / 0.6906 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/1.039, allocations: 77.06 kB / 0.6907 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/1.039, allocations: 347.4 kB / 0.691 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/1.04, allocations: 40.3 kB / 0.691 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/1.04, allocations: 0 / 0.691 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006571/1.04, allocations: 264 kB / 0.6913 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/1.04, allocations: 55.36 kB / 0.6913 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/1.041, allocations: 0.5419 MB / 0.6919 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/1.041, allocations: 28.33 kB / 0.6919 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/1.041, allocations: 290.5 kB / 0.6922 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/1.041, allocations: 47.36 kB / 0.6922 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/1.041, allocations: 6.5 kB / 0.6922 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.041, allocations: 352.6 kB / 0.6926 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/1.041, allocations: 115.5 kB / 0.6927 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/1.042, allocations: 250.7 kB / 0.6929 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/1.042, allocations: 156.3 kB / 0.6931 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.042, allocations: 3.781 kB / 0.6931 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006559/1.043, allocations: 434.2 kB / 0.6935 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/1.043, allocations: 219.1 kB / 0.6937 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.043, allocations: 5.062 kB / 0.6937 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.043, allocations: 9.703 kB / 0.6937 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/1.043, allocations: 85.02 kB / 0.6938 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.043, allocations: 10.02 kB / 0.6938 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/1.044, allocations: 70.36 kB / 0.6939 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/1.044, allocations: 21.38 kB / 0.6939 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/1.044, allocations: 8.547 kB / 0.6939 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005699/1.044, allocations: 368 kB / 0.6942 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.044, allocations: 6.281 kB / 0.6942 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-06/1.044, allocations: 5.094 kB / 0.6942 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/1.045, allocations: 87.98 kB / 0.6943 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.045, allocations: 13.86 kB / 0.6943 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/1.045, allocations: 51.77 kB / 0.6944 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/1.045, allocations: 15.91 kB / 0.6944 GB, free: 9.125 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002473/1.045, allocations: 268.6 kB / 0.6947 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/1.045, allocations: 45.28 kB / 0.6947 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/1.046, allocations: 240.2 kB / 0.6949 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.046, allocations: 0 / 0.6949 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.046, allocations: 0 / 0.6949 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.046, allocations: 0 / 0.6949 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/1.046, allocations: 383 kB / 0.6953 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.046, allocations: 0 / 0.6953 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/1.046, allocations: 32.42 kB / 0.6953 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.046, allocations: 0 / 0.6953 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.046, allocations: 7.25 kB / 0.6953 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.046, allocations: 0 / 0.6953 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.046, allocations: 3.984 kB / 0.6953 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/1.047, allocations: 311.1 kB / 0.6956 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/1.047, allocations: 151.6 kB / 0.6958 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/1.047, allocations: 6.062 kB / 0.6958 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/1.047, allocations: 24.62 kB / 0.6958 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/1.047, allocations: 11.62 kB / 0.6958 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/1.048, allocations: 13.39 kB / 0.6958 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003696/1.048, allocations: 385.6 kB / 0.6962 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/1.048, allocations: 0 / 0.6962 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009256/1.049, allocations: 352.4 kB / 0.6965 GB, free: 7.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006701/1.05, allocations: 312.8 kB / 0.6968 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007492/1.05, allocations: 437.5 kB / 0.6973 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.05, allocations: 2.75 kB / 0.6973 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/1.05, allocations: 71.78 kB / 0.6973 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/1.051, allocations: 232.3 kB / 0.6976 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.053, allocations: 0.8168 MB / 0.6983 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/1.053, allocations: 0.8315 MB / 0.6992 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005304/1.054, allocations: 121.6 kB / 0.6993 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/1.054, allocations: 41.06 kB / 0.6993 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/1.054, allocations: 4 kB / 0.6993 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of Templates: time 0.01867/1.072, allocations: 10.17 MB / 0.7093 GB, free: 1.188 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: