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.002354/0.002354, allocations: 89.47 kB / 19.44 MB, free: 344 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.002855/0.002855, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.605/1.605, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.003168/0.003168, allocations: 233.3 kB / 259.8 MB, free: 12.86 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 1.208/1.208, allocations: 138.4 MB / 454.7 MB, free: 1.5 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 1.593e-06/1.593e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.667e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4171/0.4171, allocations: 163.6 MB / 0.7141 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003897/0.421, allocations: 1.572 MB / 0.7156 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.4213, allocations: 19.81 kB / 0.7156 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.4219, allocations: 166.7 kB / 0.7158 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.424, allocations: 0.719 MB / 0.7165 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.4258, allocations: 0.654 MB / 0.7171 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009863/0.4268, allocations: 0.7087 MB / 0.7178 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.4272, allocations: 192.9 kB / 0.718 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008094/0.428, allocations: 438.7 kB / 0.7184 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.4285, allocations: 199.4 kB / 0.7186 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.4285, allocations: 24 kB / 0.7186 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.43, allocations: 0.728 MB / 0.7193 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.4301, allocations: 115.6 kB / 0.7195 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.4303, allocations: 111.8 kB / 0.7196 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.4315, allocations: 0.7361 MB / 0.7203 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4315, allocations: 0 / 0.7203 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4315, allocations: 0 / 0.7203 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.4316, allocations: 0 / 0.7203 GB, free: 3.008 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001178/0.4327, allocations: 0.7014 MB / 0.721 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4328, allocations: 8.75 kB / 0.721 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.434, allocations: 199.2 kB / 0.7212 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.4347, allocations: 291.3 kB / 0.7214 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.4347, allocations: 16.5 kB / 0.7215 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.4347, allocations: 20 kB / 0.7215 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/0.4353, allocations: 263.9 kB / 0.7217 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4353, allocations: 0 / 0.7217 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.4353, allocations: 8 kB / 0.7217 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.4353, allocations: 11.94 kB / 0.7217 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.4357, allocations: 147.8 kB / 0.7219 GB, free: 1.273 MB / 0.5261 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.001746/0.4374, allocations: 1.187 MB / 0.723 GB, free: 28 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.4377, allocations: 111 kB / 0.7232 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.4379, allocations: 64.91 kB / 0.7232 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/0.4384, allocations: 67.94 kB / 0.7233 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.4384, allocations: 37.38 kB / 0.7233 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.4384, allocations: 0 / 0.7233 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0007448/0.4391, allocations: 233.2 kB / 0.7235 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4392, allocations: 59.34 kB / 0.7236 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.4396, allocations: 328.3 kB / 0.7239 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.4396, allocations: 29.7 kB / 0.7239 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.4398, allocations: 239 kB / 0.7242 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.4399, allocations: 63.52 kB / 0.7242 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.44, allocations: 51.31 kB / 0.7243 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002956/0.4403, allocations: 0.5157 MB / 0.7248 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.4404, allocations: 47.97 kB / 0.7248 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.4407, allocations: 203.1 kB / 0.725 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.441, allocations: 177.1 kB / 0.7252 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.441, allocations: 4 kB / 0.7252 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000439/0.4415, allocations: 207.8 kB / 0.7254 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4415, allocations: 8.625 kB / 0.7254 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4415, allocations: 0 / 0.7254 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.4415, allocations: 7.984 kB / 0.7254 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.4417, allocations: 39.17 kB / 0.7254 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4417, allocations: 8.094 kB / 0.7255 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.4419, allocations: 19.89 kB / 0.7255 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.4419, allocations: 8 kB / 0.7255 GB, free: 13.39 MB / 0.5417 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 0.000318/0.4422, allocations: 184.5 kB / 0.7257 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.4423, allocations: 31.8 kB / 0.7257 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.4427, allocations: 179.3 kB / 0.7259 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4427, allocations: 0 / 0.7259 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4427, allocations: 0 / 0.7259 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4428, allocations: 0 / 0.7259 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.4439, allocations: 0.6555 MB / 0.7265 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4439, allocations: 7.938 kB / 0.7265 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.4441, allocations: 28.12 kB / 0.7265 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.4441, allocations: 0 / 0.7265 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.4441, allocations: 11.98 kB / 0.7265 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4441, allocations: 8.219 kB / 0.7265 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4441, allocations: 7.938 kB / 0.7266 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/0.4448, allocations: 438.1 kB / 0.727 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4449, allocations: 35.83 kB / 0.727 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.4449, allocations: 9.562 kB / 0.727 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4451, allocations: 4 kB / 0.727 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.4451, allocations: 27.84 kB / 0.727 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.4451, allocations: 4 kB / 0.7271 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000221/0.4454, allocations: 221.1 kB / 0.7273 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.4454, allocations: 4.031 kB / 0.7273 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004315/0.4458, allocations: 83.83 kB / 0.7273 GB, free: 11.34 MB / 0.5417 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.0003421/0.4461, allocations: 163 kB / 0.7275 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.4465, allocations: 149.9 kB / 0.7276 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4465, allocations: 192 / 0.7276 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.4467, allocations: 75.59 kB / 0.7277 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.4475, allocations: 130.7 kB / 0.7278 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4487, allocations: 0.5751 MB / 0.7284 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.4489, allocations: 167.7 kB / 0.7286 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.4491, allocations: 46.25 kB / 0.7286 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.4491, allocations: 24.5 kB / 0.7286 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/0.4491, allocations: 3.938 kB / 0.7286 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of Templates: time 0.01179/0.4609, allocations: 4.828 MB / 0.7333 GB, free: 5.285 MB / 0.5417 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: 6.540977469063364]