Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 293 MB / 309 MB, free: 4.816 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001754/0.001754, allocations: 164.6 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 0.6383 GB, free: 9.082 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000779/0.0007788, allocations: 89.39 kB / 0.7527 GB, free: 62.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 20 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2884, allocations: 116.4 MB / 0.9904 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.607/4.896, allocations: 2.065 GB / 3.056 GB, free: 152 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/4.896, allocations: 96.45 kB / 3.056 GB, free: 151.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.365/6.262, allocations: 342.9 MB / 3.391 GB, free: 182.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.689e-06/6.262, allocations: 3.984 kB / 3.391 GB, free: 182.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.656e-05/6.262, allocations: 8 kB / 3.391 GB, free: 182.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001872/6.264, allocations: 0.7013 MB / 3.392 GB, free: 181.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/6.264, allocations: 12.03 kB / 3.392 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/6.264, allocations: 60.44 kB / 3.392 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/6.265, allocations: 336 kB / 3.392 GB, free: 181.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/6.265, allocations: 24.75 kB / 3.392 GB, free: 181.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/6.265, allocations: 20.38 kB / 3.392 GB, free: 181.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/6.266, allocations: 297.2 kB / 3.392 GB, free: 181 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/6.266, allocations: 3.938 kB / 3.392 GB, free: 181 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/6.266, allocations: 12 kB / 3.392 GB, free: 181 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/6.266, allocations: 4 kB / 3.392 GB, free: 181 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/6.266, allocations: 179.8 kB / 3.393 GB, free: 180.8 MB / 0.948 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.001775/6.268, allocations: 1.714 MB / 3.394 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/6.268, allocations: 90.56 kB / 3.394 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/6.268, allocations: 92.66 kB / 3.394 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/6.269, allocations: 186.2 kB / 3.395 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/6.269, allocations: 30.56 kB / 3.395 GB, free: 178.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/6.269, allocations: 0 / 3.395 GB, free: 178.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0007027/6.269, allocations: 237.5 kB / 3.395 GB, free: 178.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/6.269, allocations: 55.41 kB / 3.395 GB, free: 178.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/6.27, allocations: 312.5 kB / 3.395 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/6.27, allocations: 37.7 kB / 3.395 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/6.27, allocations: 187.9 kB / 3.395 GB, free: 177.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/6.27, allocations: 51.38 kB / 3.395 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/6.27, allocations: 3.938 kB / 3.395 GB, free: 177.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/6.27, allocations: 338.8 kB / 3.396 GB, free: 177.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/6.27, allocations: 57.17 kB / 3.396 GB, free: 177.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/6.27, allocations: 211.5 kB / 3.396 GB, free: 176.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/6.271, allocations: 253.4 kB / 3.396 GB, free: 176.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/6.271, allocations: 4 kB / 3.396 GB, free: 176.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004412/6.271, allocations: 256.9 kB / 3.396 GB, free: 176.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/6.271, allocations: 192.8 kB / 3.397 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/6.271, allocations: 4 kB / 3.397 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/6.271, allocations: 4 kB / 3.397 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/6.272, allocations: 55.91 kB / 3.397 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/6.272, allocations: 4 kB / 3.397 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/6.272, allocations: 47.61 kB / 3.397 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/6.272, allocations: 23.92 kB / 3.397 GB, free: 176 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/6.272, allocations: 4 kB / 3.397 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003514/6.272, allocations: 199.6 kB / 3.397 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/6.272, allocations: 4.406 kB / 3.397 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/6.272, allocations: 8 kB / 3.397 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/6.272, allocations: 51.91 kB / 3.397 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/6.273, allocations: 7.938 kB / 3.397 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/6.273, allocations: 39.73 kB / 3.397 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/6.273, allocations: 15.98 kB / 3.397 GB, free: 175.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.00019/6.273, allocations: 233 kB / 3.397 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/6.273, allocations: 31.66 kB / 3.397 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/6.273, allocations: 176.4 kB / 3.398 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/6.273, allocations: 0 / 3.398 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/6.273, allocations: 96 / 3.398 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/6.273, allocations: 7.938 kB / 3.398 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008706/6.274, allocations: 0.6287 MB / 3.398 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/6.274, allocations: 0 / 3.398 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/6.274, allocations: 23.98 kB / 3.398 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/6.274, allocations: 4.328 kB / 3.398 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/6.275, allocations: 8 kB / 3.398 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/6.275, allocations: 4.219 kB / 3.398 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/6.275, allocations: 11.88 kB / 3.398 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/6.275, allocations: 313 kB / 3.399 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/6.275, allocations: 112.8 kB / 3.399 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/6.275, allocations: 4 kB / 3.399 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/6.275, allocations: 19.98 kB / 3.399 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/6.275, allocations: 19.86 kB / 3.399 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/6.275, allocations: 4 kB / 3.399 GB, free: 174 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002595/6.276, allocations: 223 kB / 3.399 GB, free: 173.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.276, allocations: 0 / 3.399 GB, free: 173.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001161/6.277, allocations: 259.7 kB / 3.399 GB, free: 173.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (11): * Single equations (assignments): 11 * 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.002126/6.279, allocations: 1.235 MB / 3.4 GB, free: 172.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005871/6.28, allocations: 260.6 kB / 3.401 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/6.28, allocations: 0.875 kB / 3.401 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/6.28, allocations: 72.16 kB / 3.401 GB, free: 171.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/6.281, allocations: 144.8 kB / 3.401 GB, free: 171.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009091/6.282, allocations: 0.5887 MB / 3.401 GB, free: 171.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/6.282, allocations: 0.7758 MB / 3.402 GB, free: 170.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003348/6.282, allocations: 78.89 kB / 3.402 GB, free: 170.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/6.282, allocations: 31.44 kB / 3.402 GB, free: 170.2 MB / 0.948 GB Notification: Performance of SimCode: time 3.21e-07/6.282, allocations: 4 kB / 3.402 GB, free: 170.2 MB / 0.948 GB Notification: Performance of Templates: time 0.02759/6.31, allocations: 19.95 MB / 3.422 GB, free: 150.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)