Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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.001458/0.001458, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001487/0.001487, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.001621/0.001621, allocations: 241.3 kB / 260.2 MB, free: 12.8 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.7719/0.7719, allocations: 138.4 MB / 455.2 MB, free: 1.52 MB / 362.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.847e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3586/0.3586, allocations: 146.5 MB / 0.6982 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3602, allocations: 1.288 MB / 0.6995 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.3604, allocations: 15.88 kB / 0.6995 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.3607, allocations: 83.22 kB / 0.6996 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007086/0.3614, allocations: 389.8 kB / 0.6999 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007203/0.3621, allocations: 454.7 kB / 0.7004 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005319/0.3627, allocations: 0.7088 MB / 0.7011 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.3629, allocations: 189.4 kB / 0.7012 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/0.3633, allocations: 367 kB / 0.7016 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.3635, allocations: 199.4 kB / 0.7018 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.3635, allocations: 20 kB / 0.7018 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.3639, allocations: 307.2 kB / 0.7021 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.364, allocations: 123.6 kB / 0.7022 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.187e-05/0.3641, allocations: 115.6 kB / 0.7023 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.3645, allocations: 442.6 kB / 0.7028 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3645, allocations: 0 / 0.7028 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3645, allocations: 0 / 0.7028 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3645, allocations: 0 / 0.7028 GB, free: 5.555 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005819/0.3651, allocations: 0.648 MB / 0.7034 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3651, allocations: 12.75 kB / 0.7034 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.366, allocations: 208.1 kB / 0.7036 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.3663, allocations: 268.8 kB / 0.7039 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.3663, allocations: 16.88 kB / 0.7039 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.3663, allocations: 24.56 kB / 0.7039 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.3666, allocations: 247.1 kB / 0.7041 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3666, allocations: 0 / 0.7041 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3666, allocations: 12 kB / 0.7041 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3666, allocations: 4 kB / 0.7041 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3667, allocations: 92.5 kB / 0.7042 GB, free: 3.953 MB / 0.5105 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.000763/0.3675, allocations: 1.133 MB / 0.7053 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.3676, allocations: 83.03 kB / 0.7054 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.3677, allocations: 43.67 kB / 0.7055 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.3679, allocations: 51.92 kB / 0.7055 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.3679, allocations: 45.27 kB / 0.7056 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.3679, allocations: 0 / 0.7056 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0003363/0.3682, allocations: 159.1 kB / 0.7057 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.3683, allocations: 55.41 kB / 0.7058 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3684, allocations: 296.2 kB / 0.706 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3684, allocations: 25.7 kB / 0.7061 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.3685, allocations: 239 kB / 0.7063 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3685, allocations: 55.53 kB / 0.7063 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.3686, allocations: 51.31 kB / 0.7064 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.3686, allocations: 0.504 MB / 0.7069 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.3687, allocations: 19.98 kB / 0.7069 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.102e-05/0.3687, allocations: 175.1 kB / 0.7071 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3689, allocations: 128.5 kB / 0.7072 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3689, allocations: 0 / 0.7072 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001861/0.369, allocations: 157.4 kB / 0.7073 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3691, allocations: 7.938 kB / 0.7074 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3691, allocations: 4 kB / 0.7074 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3691, allocations: 0 / 0.7074 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3692, allocations: 43.92 kB / 0.7074 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3692, allocations: 8.094 kB / 0.7074 GB, free: 496 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.3693, allocations: 15.89 kB / 0.7074 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.3693, allocations: 11.98 kB / 0.7074 GB, free: 468 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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 6.353e-05/0.3694, allocations: 172.5 kB / 0.7076 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.3694, allocations: 31.81 kB / 0.7076 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.3696, allocations: 133.1 kB / 0.7078 GB, free: 120 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3696, allocations: 4 kB / 0.7078 GB, free: 116 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3696, allocations: 0 / 0.7078 GB, free: 116 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3696, allocations: 3.984 kB / 0.7078 GB, free: 112 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.3701, allocations: 0.5731 MB / 0.7083 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3701, allocations: 0 / 0.7083 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/0.3702, allocations: 31.98 kB / 0.7083 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.3702, allocations: 0 / 0.7083 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3702, allocations: 4 kB / 0.7084 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.3702, allocations: 7.938 kB / 0.7084 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3702, allocations: 7.938 kB / 0.7084 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.3705, allocations: 357.7 kB / 0.7087 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.3706, allocations: 43.77 kB / 0.7088 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.3706, allocations: 0 / 0.7088 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.3707, allocations: 11.94 kB / 0.7088 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3707, allocations: 11.98 kB / 0.7088 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3707, allocations: 8 kB / 0.7088 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001063/0.3708, allocations: 205.1 kB / 0.709 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.3708, allocations: 0 / 0.709 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002748/0.3711, allocations: 83.83 kB / 0.7091 GB, free: 14.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0002165/0.3713, allocations: 135.3 kB / 0.7092 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.3715, allocations: 101.4 kB / 0.7093 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3715, allocations: 7.828 kB / 0.7093 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.3716, allocations: 58.89 kB / 0.7093 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.372, allocations: 130.7 kB / 0.7095 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009813/0.373, allocations: 0.5552 MB / 0.71 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.691e-05/0.3731, allocations: 100.3 kB / 0.7101 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.3732, allocations: 57.3 kB / 0.7102 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.3733, allocations: 20.5 kB / 0.7102 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.3733, allocations: 0 / 0.7102 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.006694/0.3799, allocations: 4.59 MB / 0.7147 GB, free: 9.023 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.404738281387836]