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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001156/0.001156, allocations: 184.3 kB / 366.7 MB, free: 1.645 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.764/1.764, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.000881/0.0008811, allocations: 82.91 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.225e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7034/0.7034, allocations: 116.3 MB / 0.9732 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.524/5.227, allocations: 2.065 GB / 3.038 GB, free: 65.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/5.227, allocations: 79.95 kB / 3.038 GB, free: 65.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.097/6.324, allocations: 339.1 MB / 3.369 GB, free: 107.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.846e-06/6.325, allocations: 0 / 3.369 GB, free: 107.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.221e-05/6.325, allocations: 11.98 kB / 3.369 GB, free: 107.2 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.001972/6.327, allocations: 0.6754 MB / 3.37 GB, free: 106.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/6.327, allocations: 11.97 kB / 3.37 GB, free: 106.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006155/6.327, allocations: 71.97 kB / 3.37 GB, free: 106.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/6.328, allocations: 310.8 kB / 3.37 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/6.328, allocations: 4 kB / 3.37 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/6.328, allocations: 16 kB / 3.37 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002902/6.329, allocations: 116.8 kB / 3.37 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/6.329, allocations: 251.8 kB / 3.371 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/6.329, allocations: 0 / 3.371 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/6.329, allocations: 4 kB / 3.371 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/6.329, allocations: 8 kB / 3.371 GB, free: 105.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.00173/6.331, allocations: 1.652 MB / 3.372 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/6.331, allocations: 82.52 kB / 3.372 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/6.331, allocations: 60.88 kB / 3.372 GB, free: 103.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/6.331, allocations: 182.2 kB / 3.373 GB, free: 103.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/6.331, allocations: 34.56 kB / 3.373 GB, free: 103.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/6.331, allocations: 0 / 3.373 GB, free: 103.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0005127/6.332, allocations: 149.5 kB / 3.373 GB, free: 103.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/6.332, allocations: 51.41 kB / 3.373 GB, free: 103.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/6.332, allocations: 222.2 kB / 3.373 GB, free: 103.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/6.332, allocations: 29.7 kB / 3.373 GB, free: 103 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/6.332, allocations: 207.7 kB / 3.373 GB, free: 102.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/6.332, allocations: 35.55 kB / 3.373 GB, free: 102.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/6.332, allocations: 0 / 3.373 GB, free: 102.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/6.332, allocations: 334.8 kB / 3.374 GB, free: 102.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/6.332, allocations: 36 kB / 3.374 GB, free: 102.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/6.333, allocations: 183.4 kB / 3.374 GB, free: 102.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/6.333, allocations: 67.89 kB / 3.374 GB, free: 102.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/6.333, allocations: 0 / 3.374 GB, free: 102.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002835/6.333, allocations: 201.2 kB / 3.374 GB, free: 101.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003189/6.333, allocations: 1.395 MB / 3.375 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/6.333, allocations: 7.938 kB / 3.375 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/6.333, allocations: 8 kB / 3.375 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/6.334, allocations: 47.91 kB / 3.375 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/6.334, allocations: 4 kB / 3.375 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/6.334, allocations: 47.72 kB / 3.375 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/6.334, allocations: 8 kB / 3.375 GB, free: 100.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/6.334, allocations: 4 kB / 3.375 GB, free: 100.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002165/6.334, allocations: 144 kB / 3.376 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/6.334, allocations: 7.922 kB / 3.376 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/6.334, allocations: 16.02 kB / 3.376 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/6.334, allocations: 47.92 kB / 3.376 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/6.334, allocations: 4 kB / 3.376 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/6.335, allocations: 44.02 kB / 3.376 GB, free: 100 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/6.335, allocations: 11.94 kB / 3.376 GB, free: 100 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 () * 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 7.339e-05/6.335, allocations: 108.9 kB / 3.376 GB, free: 99.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/6.335, allocations: 27.66 kB / 3.376 GB, free: 99.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/6.335, allocations: 127.6 kB / 3.376 GB, free: 99.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/6.335, allocations: 0 / 3.376 GB, free: 99.72 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/6.335, allocations: 0 / 3.376 GB, free: 99.72 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/6.335, allocations: 0 / 3.376 GB, free: 99.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/6.336, allocations: 0.5397 MB / 3.377 GB, free: 99.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/6.336, allocations: 4 kB / 3.377 GB, free: 99.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/6.336, allocations: 28.2 kB / 3.377 GB, free: 99.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/6.336, allocations: 4 kB / 3.377 GB, free: 99.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/6.336, allocations: 11.89 kB / 3.377 GB, free: 99.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/6.336, allocations: 0 / 3.377 GB, free: 99.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/6.336, allocations: 7.938 kB / 3.377 GB, free: 99.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/6.336, allocations: 347 kB / 3.377 GB, free: 98.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/6.336, allocations: 112.8 kB / 3.377 GB, free: 98.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/6.336, allocations: 4 kB / 3.377 GB, free: 98.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/6.336, allocations: 23.86 kB / 3.377 GB, free: 98.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/6.336, allocations: 15.98 kB / 3.377 GB, free: 98.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/6.336, allocations: 4 kB / 3.377 GB, free: 98.47 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001138/6.336, allocations: 178 kB / 3.377 GB, free: 98.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.336, allocations: 0 / 3.377 GB, free: 98.29 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007439/6.337, allocations: 219.6 kB / 3.377 GB, free: 98.08 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 () * 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.001584/6.339, allocations: 1.416 MB / 3.379 GB, free: 96.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002981/6.339, allocations: 190.6 kB / 3.379 GB, free: 96.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/6.339, allocations: 4.062 kB / 3.379 GB, free: 96.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/6.339, allocations: 47.86 kB / 3.379 GB, free: 96.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/6.34, allocations: 109.2 kB / 3.379 GB, free: 96.29 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/6.34, allocations: 345.3 kB / 3.379 GB, free: 95.91 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/6.34, allocations: 0.7879 MB / 3.38 GB, free: 95.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003052/6.341, allocations: 90.61 kB / 3.38 GB, free: 95.01 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/6.341, allocations: 19.44 kB / 3.38 GB, free: 94.99 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/6.341, allocations: 4 kB / 3.38 GB, free: 94.99 MB / 0.948 GB Notification: Performance of Templates: time 0.01513/6.356, allocations: 11.27 MB / 3.391 GB, free: 83.78 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)