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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.6397/0.6397, allocations: 94.69 MB / 107.3 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001073/0.001073, allocations: 174.2 kB / 130.7 MB, free: 7.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.726/1.726, allocations: 170.5 MB / 324.5 MB, free: 3.973 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001807/0.001807, allocations: 113.2 kB / 386.6 MB, free: 16.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.58e-05/4.605e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5487, allocations: 61.51 MB / 0.5054 GB, free: 49.36 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.57/16.12, allocations: 5.248 GB / 5.753 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/16.12, allocations: 84.67 kB / 5.753 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.094/17.21, allocations: 325.4 MB / 6.071 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.595e-06/17.21, allocations: 0 / 6.071 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.085e-05/17.21, allocations: 12 kB / 6.071 GB, free: 5.703 MB / 0.5261 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.001453/17.21, allocations: 0.7727 MB / 6.072 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/17.21, allocations: 16.03 kB / 6.072 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/17.22, allocations: 59.42 kB / 6.072 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008293/17.22, allocations: 0.4922 MB / 6.072 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/17.22, allocations: 28.78 kB / 6.072 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/17.22, allocations: 40.52 kB / 6.072 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007696/17.22, allocations: 487.6 kB / 6.073 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/17.22, allocations: 3.938 kB / 6.073 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/17.22, allocations: 20 kB / 6.073 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/17.22, allocations: 11.98 kB / 6.073 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/17.22, allocations: 394.8 kB / 6.073 GB, free: 3.281 MB / 0.5261 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.002452/17.22, allocations: 2.069 MB / 6.075 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/17.22, allocations: 138.4 kB / 6.075 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/17.22, allocations: 56.83 kB / 6.075 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.998e-05/17.22, allocations: 93.09 kB / 6.075 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/17.22, allocations: 38.56 kB / 6.075 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/17.22, allocations: 4 kB / 6.076 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0004285/17.22, allocations: 165.2 kB / 6.076 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/17.22, allocations: 55.41 kB / 6.076 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/17.22, allocations: 491.8 kB / 6.076 GB, free: 12 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.3621/17.58, allocations: 25.7 kB / 6.076 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/17.58, allocations: 286.4 kB / 6.076 GB, free: 92.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/17.58, allocations: 48.64 kB / 6.077 GB, free: 92.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/17.58, allocations: 9.656 kB / 6.077 GB, free: 92.53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001171/17.58, allocations: 353.9 kB / 6.077 GB, free: 92.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/17.58, allocations: 96.94 kB / 6.077 GB, free: 92.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/17.58, allocations: 237.8 kB / 6.077 GB, free: 92.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/17.59, allocations: 136.3 kB / 6.077 GB, free: 92.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/17.59, allocations: 2.594 kB / 6.077 GB, free: 92.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006811/17.59, allocations: 403 kB / 6.078 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003873/17.59, allocations: 1.743 MB / 6.079 GB, free: 90.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/17.59, allocations: 7.438 kB / 6.079 GB, free: 90.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/17.59, allocations: 7.969 kB / 6.079 GB, free: 90.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/17.59, allocations: 92.17 kB / 6.08 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/17.59, allocations: 10.97 kB / 6.08 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/17.59, allocations: 69.12 kB / 6.08 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/17.59, allocations: 18.41 kB / 6.08 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/17.59, allocations: 3.031 kB / 6.08 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004806/17.59, allocations: 332.6 kB / 6.08 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/17.59, allocations: 2.688 kB / 6.08 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/17.59, allocations: 12.66 kB / 6.08 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/17.59, allocations: 83.03 kB / 6.08 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/17.59, allocations: 10.47 kB / 6.08 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/17.59, allocations: 59.12 kB / 6.08 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/17.59, allocations: 18.59 kB / 6.08 GB, free: 90.16 MB / 0.5261 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 () * 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.0001355/17.59, allocations: 129.5 kB / 6.08 GB, free: 90.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/17.59, allocations: 50.06 kB / 6.08 GB, free: 90.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/17.59, allocations: 195 kB / 6.08 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/17.59, allocations: 2.969 kB / 6.08 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/17.59, allocations: 3.469 kB / 6.08 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/17.59, allocations: 3.469 kB / 6.08 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/17.59, allocations: 379.4 kB / 6.081 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/17.59, allocations: 3.031 kB / 6.081 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/17.59, allocations: 32.97 kB / 6.081 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/17.59, allocations: 0 / 6.081 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/17.59, allocations: 2.812 kB / 6.081 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/17.59, allocations: 2.875 kB / 6.081 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/17.59, allocations: 2.469 kB / 6.081 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/17.59, allocations: 266.6 kB / 6.081 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/17.59, allocations: 161.6 kB / 6.081 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/17.59, allocations: 5.781 kB / 6.081 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/17.59, allocations: 28.64 kB / 6.081 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/17.59, allocations: 12.89 kB / 6.081 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/17.59, allocations: 13.28 kB / 6.081 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004017/17.59, allocations: 379.4 kB / 6.082 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/17.59, allocations: 0 / 6.082 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00159/17.59, allocations: 434.9 kB / 6.082 GB, free: 89.43 MB / 0.5261 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 () * 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.001994/17.59, allocations: 1.061 MB / 6.083 GB, free: 89.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007374/17.6, allocations: 390.4 kB / 6.084 GB, free: 89.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/17.6, allocations: 5.625 kB / 6.084 GB, free: 89.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/17.6, allocations: 53.62 kB / 6.084 GB, free: 89.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/17.6, allocations: 225.4 kB / 6.084 GB, free: 89.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008926/17.6, allocations: 453.1 kB / 6.084 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/17.6, allocations: 0.8445 MB / 6.085 GB, free: 88.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006752/17.6, allocations: 163.4 kB / 6.085 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/17.6, allocations: 40.59 kB / 6.085 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of SimCode: time 4.01e-07/17.6, allocations: 0 / 6.085 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.0438/17.64, allocations: 25.86 MB / 6.111 GB, free: 88.11 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.makefile (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)