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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007633/0.0007633, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8903/0.8903, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00204/0.00204, allocations: 237.6 kB / 260.2 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6917/0.6917, allocations: 138.4 MB / 455.1 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6475 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.329e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.4303/0.4303, allocations: 149.5 MB / 0.7935 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00514/0.4354, allocations: 6.653 MB / 0.8 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.4357, allocations: 19.81 kB / 0.8 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.4362, allocations: 214.5 kB / 0.8002 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009505/0.4372, allocations: 0.5945 MB / 0.8008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.4379, allocations: 473.2 kB / 0.8012 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006025/0.4385, allocations: 0.7204 MB / 0.8019 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.4387, allocations: 208.9 kB / 0.8021 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.4393, allocations: 482.4 kB / 0.8026 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.4394, allocations: 191.4 kB / 0.8028 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.4395, allocations: 20 kB / 0.8028 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.44, allocations: 0.5843 MB / 0.8034 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.291e-05/0.4401, allocations: 115.6 kB / 0.8035 GB, free: 11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.4402, allocations: 107.7 kB / 0.8036 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.4408, allocations: 0.588 MB / 0.8042 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4408, allocations: 4 kB / 0.8042 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4408, allocations: 0 / 0.8042 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4408, allocations: 0 / 0.8042 GB, free: 10.3 MB / 0.6355 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.0006527/0.4414, allocations: 0.5712 MB / 0.8047 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4415, allocations: 9.938 kB / 0.8047 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.4417, allocations: 71.66 kB / 0.8048 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.4421, allocations: 252 kB / 0.805 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4421, allocations: 24.48 kB / 0.8051 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.4421, allocations: 24 kB / 0.8051 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.4424, allocations: 301.4 kB / 0.8054 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4425, allocations: 0 / 0.8054 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.4425, allocations: 12 kB / 0.8054 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.4425, allocations: 4 kB / 0.8054 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.4427, allocations: 184.2 kB / 0.8056 GB, free: 8.781 MB / 0.6355 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.0009756/0.4437, allocations: 1.458 MB / 0.807 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.4438, allocations: 90.55 kB / 0.8071 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.4439, allocations: 72.84 kB / 0.8071 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.4441, allocations: 35.97 kB / 0.8072 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.4441, allocations: 34.5 kB / 0.8072 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.113e-06/0.4441, allocations: 4 kB / 0.8072 GB, free: 7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003967/0.4445, allocations: 229.3 kB / 0.8074 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.4445, allocations: 53.09 kB / 0.8075 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.4447, allocations: 276.1 kB / 0.8078 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4447, allocations: 29.7 kB / 0.8078 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.4448, allocations: 192.1 kB / 0.808 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.4448, allocations: 43.69 kB / 0.808 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.4449, allocations: 51.89 kB / 0.8081 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.445, allocations: 338.8 kB / 0.8084 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.445, allocations: 60.81 kB / 0.8084 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.4452, allocations: 374.9 kB / 0.8088 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.4455, allocations: 237.5 kB / 0.809 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4455, allocations: 0 / 0.809 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002636/0.4457, allocations: 253 kB / 0.8093 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4457, allocations: 8 kB / 0.8093 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4457, allocations: 0 / 0.8093 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.4458, allocations: 15.92 kB / 0.8093 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.4459, allocations: 45.39 kB / 0.8093 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.4459, allocations: 8 kB / 0.8093 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.446, allocations: 35.8 kB / 0.8094 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.446, allocations: 14.16 kB / 0.8094 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000136/0.4461, allocations: 169 kB / 0.8095 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001888/0.4463, allocations: 376.6 kB / 0.8099 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001944/0.4465, allocations: 233.6 kB / 0.8101 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-06/0.4465, allocations: 0 / 0.8101 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002452/0.4468, allocations: 245.1 kB / 0.8104 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.4468, allocations: 8.625 kB / 0.8104 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.4468, allocations: 5.5 kB / 0.8104 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.4468, allocations: 8 kB / 0.8104 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.4469, allocations: 55.84 kB / 0.8104 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4469, allocations: 10.5 kB / 0.8104 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.447, allocations: 27.94 kB / 0.8105 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.447, allocations: 8 kB / 0.8105 GB, free: 3.301 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.103e-05/0.4471, allocations: 208.1 kB / 0.8107 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.4471, allocations: 27.81 kB / 0.8107 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.4473, allocations: 163.4 kB / 0.8109 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.4473, allocations: 7.938 kB / 0.8109 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4473, allocations: 0 / 0.8109 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4473, allocations: 2.719 kB / 0.8109 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.4478, allocations: 0.5273 MB / 0.8114 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4478, allocations: 0 / 0.8114 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.4479, allocations: 27.98 kB / 0.8114 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4479, allocations: 4 kB / 0.8114 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.4479, allocations: 0 / 0.8114 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4479, allocations: 11.92 kB / 0.8114 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4479, allocations: 3.938 kB / 0.8114 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.4481, allocations: 293.2 kB / 0.8117 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.4481, allocations: 39.84 kB / 0.8117 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.4482, allocations: 8 kB / 0.8118 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.4482, allocations: 11.98 kB / 0.8118 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.4483, allocations: 11.98 kB / 0.8118 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.4483, allocations: 9.062 kB / 0.8118 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001107/0.4484, allocations: 187.1 kB / 0.812 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4484, allocations: 0 / 0.812 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000349/0.4487, allocations: 147.7 kB / 0.8121 GB, free: 1.527 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002113/0.449, allocations: 155.2 kB / 0.8123 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.4493, allocations: 246.2 kB / 0.8125 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4493, allocations: 0 / 0.8125 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.4494, allocations: 68.33 kB / 0.8126 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.4498, allocations: 95.86 kB / 0.8126 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.4503, allocations: 0.508 MB / 0.8131 GB, free: 428 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.4504, allocations: 167.1 kB / 0.8133 GB, free: 240 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.4505, allocations: 36.48 kB / 0.8133 GB, free: 204 kB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.4505, allocations: 0 / 0.8133 GB, free: 204 kB / 0.6355 GB Notification: Performance of Templates: time 0.004259/0.4547, allocations: 4.165 MB / 0.8174 GB, free: 12.1 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.142341227270663] Failed to read output from testmodel.py, exit status != 0: 0.46078868955373764 0.46867409400000004 0.026073417 Calling exit ...