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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004883/0.004883, allocations: 99.47 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 279 kB / 290.8 MB, free: 1.793 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9729/0.9729, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 91.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1622, allocations: 86.98 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5966/0.7588, allocations: 167.3 MB / 0.9298 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.7615, allocations: 1.552 MB / 0.9313 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000232/0.7617, allocations: 11.94 kB / 0.9314 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.7622, allocations: 146.9 kB / 0.9315 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.7638, allocations: 0.7 MB / 0.9322 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.7652, allocations: 0.6068 MB / 0.9328 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0006958/0.7659, allocations: 0.705 MB / 0.9335 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.7663, allocations: 221.2 kB / 0.9337 GB, free: 7.477 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.7668, allocations: 342.7 kB / 0.934 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.767, allocations: 219.1 kB / 0.9342 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.7671, allocations: 20 kB / 0.9342 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.7684, allocations: 0.8728 MB / 0.9351 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.7685, allocations: 107.7 kB / 0.9352 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.7687, allocations: 167.2 kB / 0.9353 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000932/0.7696, allocations: 0.7311 MB / 0.9361 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7696, allocations: 0 / 0.9361 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7696, allocations: 0 / 0.9361 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.7696, allocations: 0 / 0.9361 GB, free: 5.035 MB / 0.6856 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.0008374/0.7705, allocations: 0.6511 MB / 0.9367 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.7705, allocations: 8.031 kB / 0.9367 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.7716, allocations: 151.5 kB / 0.9368 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.7721, allocations: 325.6 kB / 0.9372 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.7721, allocations: 12.44 kB / 0.9372 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.7722, allocations: 27.98 kB / 0.9372 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.7727, allocations: 283.4 kB / 0.9375 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.7727, allocations: 3.938 kB / 0.9375 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.7727, allocations: 8 kB / 0.9375 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.7727, allocations: 4 kB / 0.9375 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.7731, allocations: 195.8 kB / 0.9377 GB, free: 3.273 MB / 0.6856 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.001314/0.7744, allocations: 1.21 MB / 0.9388 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.7747, allocations: 134.5 kB / 0.939 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.7749, allocations: 92.8 kB / 0.9391 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.7754, allocations: 303.2 kB / 0.9394 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.7755, allocations: 42.5 kB / 0.9394 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.7755, allocations: 0 / 0.9394 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0007199/0.7762, allocations: 286 kB / 0.9397 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.7762, allocations: 55.41 kB / 0.9397 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.7765, allocations: 312.5 kB / 0.94 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.7766, allocations: 33.7 kB / 0.94 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.7767, allocations: 184.1 kB / 0.9402 GB, free: 444 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.7768, allocations: 47.2 kB / 0.9403 GB, free: 396 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.7768, allocations: 49.7 kB / 0.9403 GB, free: 340 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.777, allocations: 330.9 kB / 0.9406 GB, free: 16 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.7771, allocations: 67.95 kB / 0.9407 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.7773, allocations: 132 kB / 0.9408 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.7777, allocations: 192.9 kB / 0.941 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7777, allocations: 0 / 0.941 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004287/0.7781, allocations: 235.9 kB / 0.9412 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7782, allocations: 8 kB / 0.9412 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7782, allocations: 0 / 0.9412 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.7782, allocations: 4 kB / 0.9412 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.7784, allocations: 43.97 kB / 0.9413 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.7784, allocations: 12.03 kB / 0.9413 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.7786, allocations: 31.67 kB / 0.9413 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.7786, allocations: 8 kB / 0.9413 GB, free: 15.24 MB / 0.7012 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.0001275/0.7788, allocations: 146.4 kB / 0.9415 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.7788, allocations: 35.56 kB / 0.9415 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.7793, allocations: 221.1 kB / 0.9417 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.7793, allocations: 11.98 kB / 0.9417 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7793, allocations: 0 / 0.9417 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.7793, allocations: 3.984 kB / 0.9417 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009613/0.7803, allocations: 0.6756 MB / 0.9424 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7803, allocations: 4.5 kB / 0.9424 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.7804, allocations: 31.92 kB / 0.9424 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.7805, allocations: 0 / 0.9424 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.7805, allocations: 12.69 kB / 0.9424 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.7805, allocations: 4 kB / 0.9424 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7805, allocations: 5.328 kB / 0.9424 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.7811, allocations: 433.8 kB / 0.9429 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.7812, allocations: 124.8 kB / 0.943 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.7813, allocations: 7.938 kB / 0.943 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.7814, allocations: 15.61 kB / 0.943 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.7815, allocations: 19.92 kB / 0.943 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.7815, allocations: 4 kB / 0.943 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002001/0.7817, allocations: 231.1 kB / 0.9432 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7817, allocations: 0 / 0.9432 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003735/0.7821, allocations: 83.89 kB / 0.9433 GB, free: 13.06 MB / 0.7012 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.0003575/0.7825, allocations: 154.8 kB / 0.9435 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004069/0.7829, allocations: 179.8 kB / 0.9436 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7829, allocations: 0 / 0.9436 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.7831, allocations: 83.83 kB / 0.9437 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.7839, allocations: 181 kB / 0.9439 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.7849, allocations: 0.5956 MB / 0.9445 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.7852, allocations: 0.7717 MB / 0.9452 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.7854, allocations: 66.92 kB / 0.9453 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.7854, allocations: 27.44 kB / 0.9453 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of SimCode: time 2.51e-07/0.7854, allocations: 3.938 kB / 0.9453 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of Templates: time 0.01015/0.7956, allocations: 5.859 MB / 0.951 GB, free: 5.195 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)