Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009345/0.0009345, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6553/0.6553, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004355, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 77.14 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4006/0.5779, allocations: 140.1 MB / 0.6937 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.5804, allocations: 1.584 MB / 0.6952 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.5808, allocations: 7.938 kB / 0.6952 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.5814, allocations: 171.2 kB / 0.6954 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.5826, allocations: 0.518 MB / 0.6959 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.5838, allocations: 491.3 kB / 0.6964 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.5843, allocations: 431.6 kB / 0.6968 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.5846, allocations: 181.3 kB / 0.697 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006331/0.5852, allocations: 342.9 kB / 0.6973 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.5854, allocations: 151.4 kB / 0.6974 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.5855, allocations: 12 kB / 0.6975 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007998/0.5863, allocations: 423.3 kB / 0.6979 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.5864, allocations: 91.7 kB / 0.6979 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.5865, allocations: 85.52 kB / 0.698 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.5869, allocations: 395.5 kB / 0.6984 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.587, allocations: 0 / 0.6984 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.587, allocations: 0 / 0.6984 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.587, allocations: 4 kB / 0.6984 GB, free: 8.973 MB / 0.5137 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.0007695/0.5877, allocations: 0.5772 MB / 0.699 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.5878, allocations: 12.03 kB / 0.699 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.5889, allocations: 163.3 kB / 0.6991 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.5893, allocations: 305.8 kB / 0.6994 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.5894, allocations: 20.44 kB / 0.6995 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.5894, allocations: 20 kB / 0.6995 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.5898, allocations: 275.5 kB / 0.6997 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5899, allocations: 7.938 kB / 0.6997 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.5899, allocations: 8 kB / 0.6997 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5899, allocations: 8 kB / 0.6998 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.5903, allocations: 203.8 kB / 0.6999 GB, free: 7.281 MB / 0.5137 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.001303/0.5916, allocations: 1.213 MB / 0.7011 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.5919, allocations: 146.4 kB / 0.7013 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/0.5923, allocations: 137 kB / 0.7014 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5923, allocations: 42.5 kB / 0.7014 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.5923, allocations: 0 / 0.7014 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0007476/0.5931, allocations: 291.2 kB / 0.7017 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.5931, allocations: 55.41 kB / 0.7018 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.5934, allocations: 316.4 kB / 0.7021 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.5935, allocations: 29.7 kB / 0.7021 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.5936, allocations: 180.2 kB / 0.7023 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.5937, allocations: 59.19 kB / 0.7023 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.5937, allocations: 4 kB / 0.7023 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5938, allocations: 338.8 kB / 0.7027 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.594, allocations: 71.95 kB / 0.7027 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.5942, allocations: 123.9 kB / 0.7028 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.5944, allocations: 83.95 kB / 0.7029 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5944, allocations: 0 / 0.7029 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004546/0.5948, allocations: 253.2 kB / 0.7032 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5949, allocations: 7.953 kB / 0.7032 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5949, allocations: 0 / 0.7032 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.5949, allocations: 4 kB / 0.7032 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.5951, allocations: 47.91 kB / 0.7032 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5951, allocations: 0 / 0.7032 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.5953, allocations: 43.73 kB / 0.7033 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.5954, allocations: 8 kB / 0.7033 GB, free: 3.66 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.5955, allocations: 155.5 kB / 0.7034 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.5956, allocations: 27.62 kB / 0.7034 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/0.596, allocations: 236.1 kB / 0.7037 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.5961, allocations: 7.984 kB / 0.7037 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5961, allocations: 3.938 kB / 0.7037 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5961, allocations: 0 / 0.7037 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009988/0.5971, allocations: 0.6954 MB / 0.7044 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5971, allocations: 0 / 0.7044 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.5973, allocations: 31.98 kB / 0.7044 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5973, allocations: 7.984 kB / 0.7044 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.5973, allocations: 4 kB / 0.7044 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5973, allocations: 3.938 kB / 0.7044 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5973, allocations: 7.938 kB / 0.7044 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.598, allocations: 0.5299 MB / 0.7049 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.5981, allocations: 120.8 kB / 0.7051 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.5982, allocations: 0 / 0.7051 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.5984, allocations: 19.98 kB / 0.7051 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.5984, allocations: 15.94 kB / 0.7051 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.5984, allocations: 12.06 kB / 0.7051 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002/0.5986, allocations: 223 kB / 0.7053 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5986, allocations: 0 / 0.7053 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003704/0.599, allocations: 83.89 kB / 0.7054 GB, free: 1.312 MB / 0.5137 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 (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.0003216/0.5993, allocations: 167.7 kB / 0.7055 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004075/0.5998, allocations: 175.8 kB / 0.7057 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5998, allocations: 4 kB / 0.7057 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.6, allocations: 100.3 kB / 0.7058 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007836/0.6008, allocations: 156.5 kB / 0.706 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009009/0.6017, allocations: 0.6966 MB / 0.7066 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.602, allocations: 0.7875 MB / 0.7074 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.6022, allocations: 63.8 kB / 0.7075 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.6023, allocations: 23.44 kB / 0.7075 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.6023, allocations: 0 / 0.7075 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.009158/0.6115, allocations: 5.257 MB / 0.7126 GB, free: 9.934 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)