Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8292/0.8292, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.00117, allocations: 180.7 kB / 191.5 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.2 MB / 447.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.0009411, allocations: 96.25 kB / 0.5188 GB, free: 2.852 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 259.6 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004864, allocations: 19.98 kB / 0.6929 GB, free: 2.293 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3682, allocations: 82.77 MB / 0.7737 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.008/4.376, allocations: 1.83 GB / 2.604 GB, free: 154 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/4.376, allocations: 98.69 kB / 2.604 GB, free: 153.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.008/5.384, allocations: 346.8 MB / 2.943 GB, free: 89.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.255e-06/5.384, allocations: 3.938 kB / 2.943 GB, free: 89.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.904e-05/5.384, allocations: 12 kB / 2.943 GB, free: 89.89 MB / 0.698 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.001729/5.386, allocations: 0.7011 MB / 2.944 GB, free: 89.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/5.386, allocations: 15.97 kB / 2.944 GB, free: 89.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/5.387, allocations: 67.56 kB / 2.944 GB, free: 89.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/5.387, allocations: 324 kB / 2.944 GB, free: 88.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/5.387, allocations: 28.36 kB / 2.944 GB, free: 88.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/5.387, allocations: 23.95 kB / 2.944 GB, free: 88.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/5.388, allocations: 292.6 kB / 2.944 GB, free: 88.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/5.388, allocations: 4 kB / 2.944 GB, free: 88.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/5.388, allocations: 8 kB / 2.944 GB, free: 88.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/5.388, allocations: 11.94 kB / 2.944 GB, free: 88.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/5.388, allocations: 179.5 kB / 2.945 GB, free: 88.13 MB / 0.698 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.001238/5.389, allocations: 1.71 MB / 2.946 GB, free: 86.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/5.389, allocations: 94.5 kB / 2.946 GB, free: 86.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/5.39, allocations: 190.2 kB / 2.946 GB, free: 85.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/5.39, allocations: 38.52 kB / 2.947 GB, free: 85.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/5.39, allocations: 0 / 2.947 GB, free: 85.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006088/5.39, allocations: 229.8 kB / 2.947 GB, free: 85.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/5.39, allocations: 51.41 kB / 2.947 GB, free: 85.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/5.391, allocations: 287.6 kB / 2.947 GB, free: 85.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/5.391, allocations: 29.7 kB / 2.947 GB, free: 85.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/5.391, allocations: 199.8 kB / 2.947 GB, free: 85.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/5.391, allocations: 39.45 kB / 2.947 GB, free: 85.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/5.391, allocations: 0 / 2.947 GB, free: 85.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/5.391, allocations: 346.8 kB / 2.948 GB, free: 84.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/5.391, allocations: 55.95 kB / 2.948 GB, free: 84.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/5.391, allocations: 204.6 kB / 2.948 GB, free: 84.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/5.391, allocations: 87.89 kB / 2.948 GB, free: 84.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/5.391, allocations: 4 kB / 2.948 GB, free: 84.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003938/5.392, allocations: 261 kB / 2.948 GB, free: 84.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000263/5.392, allocations: 1.399 MB / 2.95 GB, free: 82.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/5.392, allocations: 4 kB / 2.95 GB, free: 82.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/5.392, allocations: 4 kB / 2.95 GB, free: 82.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/5.392, allocations: 59.91 kB / 2.95 GB, free: 82.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/5.392, allocations: 7.953 kB / 2.95 GB, free: 82.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/5.392, allocations: 51.59 kB / 2.95 GB, free: 82.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/5.393, allocations: 12 kB / 2.95 GB, free: 82.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/5.393, allocations: 9.5 kB / 2.95 GB, free: 82.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003778/5.393, allocations: 199.9 kB / 2.95 GB, free: 82.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/5.393, allocations: 8.062 kB / 2.95 GB, free: 82.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/5.393, allocations: 11.98 kB / 2.95 GB, free: 82.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/5.393, allocations: 43.92 kB / 2.95 GB, free: 82.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/5.393, allocations: 7.938 kB / 2.95 GB, free: 82.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/5.393, allocations: 43.72 kB / 2.95 GB, free: 82.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/5.393, allocations: 12 kB / 2.95 GB, free: 82.08 MB / 0.698 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.0001345/5.394, allocations: 244.9 kB / 2.95 GB, free: 81.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/5.394, allocations: 27.8 kB / 2.95 GB, free: 81.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/5.394, allocations: 180.4 kB / 2.95 GB, free: 81.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/5.394, allocations: 4 kB / 2.95 GB, free: 81.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/5.394, allocations: 0 / 2.95 GB, free: 81.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/5.394, allocations: 0 / 2.95 GB, free: 81.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007879/5.395, allocations: 0.6248 MB / 2.951 GB, free: 80.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/5.395, allocations: 4 kB / 2.951 GB, free: 80.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/5.395, allocations: 27.92 kB / 2.951 GB, free: 80.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/5.395, allocations: 8.203 kB / 2.951 GB, free: 80.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/5.395, allocations: 12 kB / 2.951 GB, free: 80.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/5.395, allocations: 0 / 2.951 GB, free: 80.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/5.395, allocations: 7.938 kB / 2.951 GB, free: 80.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/5.395, allocations: 385.2 kB / 2.952 GB, free: 80.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/5.395, allocations: 116.7 kB / 2.952 GB, free: 80.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/5.395, allocations: 8 kB / 2.952 GB, free: 80.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/5.396, allocations: 19.98 kB / 2.952 GB, free: 80.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/5.396, allocations: 20.2 kB / 2.952 GB, free: 80.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/5.396, allocations: 4 kB / 2.952 GB, free: 80.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001677/5.396, allocations: 223 kB / 2.952 GB, free: 80 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/5.396, allocations: 4 kB / 2.952 GB, free: 79.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001036/5.397, allocations: 251.8 kB / 2.952 GB, free: 79.75 MB / 0.698 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.001759/5.399, allocations: 1.248 MB / 2.953 GB, free: 78.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005566/5.399, allocations: 252.7 kB / 2.954 GB, free: 78.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/5.399, allocations: 0 / 2.954 GB, free: 78.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/5.399, allocations: 72.7 kB / 2.954 GB, free: 78.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/5.4, allocations: 147.9 kB / 2.954 GB, free: 78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009265/5.401, allocations: 0.5792 MB / 2.954 GB, free: 77.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/5.401, allocations: 0.7797 MB / 2.955 GB, free: 76.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003071/5.402, allocations: 78.91 kB / 2.955 GB, free: 76.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/5.402, allocations: 31.42 kB / 2.955 GB, free: 76.46 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/5.402, allocations: 0 / 2.955 GB, free: 76.46 MB / 0.698 GB Notification: Performance of Templates: time 0.02378/5.426, allocations: 19.86 MB / 2.975 GB, free: 56.66 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)