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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8092/0.8092, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 190.7 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 115.7 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 284.7 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 80.27 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3451, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5351/0.8802, allocations: 165.1 MB / 0.9292 GB, free: 448 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.8831, allocations: 1.559 MB / 0.9307 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.8835, allocations: 12.25 kB / 0.9307 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.884, allocations: 123.6 kB / 0.9308 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.8856, allocations: 0.6655 MB / 0.9315 GB, free: 344 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.8869, allocations: 0.5396 MB / 0.932 GB, free: 328 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009302/0.8878, allocations: 0.9787 MB / 0.9329 GB, free: 324 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.8882, allocations: 203.8 kB / 0.9331 GB, free: 296 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005131/0.8887, allocations: 312.7 kB / 0.9334 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.889, allocations: 225.4 kB / 0.9337 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.889, allocations: 15.09 kB / 0.9337 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.8907, allocations: 1.015 MB / 0.9347 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.8908, allocations: 97.7 kB / 0.9348 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.891, allocations: 155.8 kB / 0.9349 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009083/0.8919, allocations: 0.7653 MB / 0.9357 GB, free: 244 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.892, allocations: 4 kB / 0.9357 GB, free: 240 kB / 0.5573 GB Notification: Performance of FrontEnd: time 9.52e-07/0.892, allocations: 2.719 kB / 0.9357 GB, free: 240 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.892, allocations: 0 / 0.9357 GB, free: 240 kB / 0.5573 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.0009032/0.8929, allocations: 0.648 MB / 0.9363 GB, free: 15.75 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8929, allocations: 8.969 kB / 0.9363 GB, free: 15.75 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.894, allocations: 151.7 kB / 0.9364 GB, free: 15.73 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.8944, allocations: 303.7 kB / 0.9367 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8945, allocations: 21.5 kB / 0.9368 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.8945, allocations: 22.44 kB / 0.9368 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.895, allocations: 277.5 kB / 0.937 GB, free: 15.42 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.895, allocations: 3.938 kB / 0.937 GB, free: 15.41 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.895, allocations: 9.562 kB / 0.9371 GB, free: 15.41 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.895, allocations: 12.98 kB / 0.9371 GB, free: 15.41 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.8955, allocations: 192.7 kB / 0.9372 GB, free: 15.41 MB / 0.573 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.001432/0.897, allocations: 1.214 MB / 0.9384 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.8973, allocations: 139.6 kB / 0.9386 GB, free: 14.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.8975, allocations: 89.11 kB / 0.9387 GB, free: 14.54 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006349/0.8981, allocations: 304 kB / 0.9389 GB, free: 14.25 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.8981, allocations: 43.58 kB / 0.939 GB, free: 14.21 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.8981, allocations: 0 / 0.939 GB, free: 14.21 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0007177/0.8989, allocations: 276.3 kB / 0.9392 GB, free: 14.16 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.8989, allocations: 57.69 kB / 0.9393 GB, free: 14.1 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.8992, allocations: 315 kB / 0.9396 GB, free: 13.99 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.8992, allocations: 29.33 kB / 0.9396 GB, free: 13.96 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.8993, allocations: 185.1 kB / 0.9398 GB, free: 13.85 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.8994, allocations: 52.94 kB / 0.9399 GB, free: 13.82 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.8994, allocations: 45.36 kB / 0.9399 GB, free: 13.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8996, allocations: 342.5 kB / 0.9402 GB, free: 13.48 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.8997, allocations: 63.42 kB / 0.9403 GB, free: 13.48 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.8999, allocations: 127.3 kB / 0.9404 GB, free: 13.43 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.9002, allocations: 194.3 kB / 0.9406 GB, free: 13.37 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9002, allocations: 0 / 0.9406 GB, free: 13.37 MB / 0.573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004264/0.9007, allocations: 240 kB / 0.9408 GB, free: 13.32 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.9007, allocations: 8.281 kB / 0.9408 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9007, allocations: 0 / 0.9408 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.9007, allocations: 2.438 kB / 0.9408 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.9009, allocations: 46.7 kB / 0.9409 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.9009, allocations: 5.109 kB / 0.9409 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.9011, allocations: 35.61 kB / 0.9409 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.9012, allocations: 8.438 kB / 0.9409 GB, free: 13.3 MB / 0.573 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.0001216/0.9013, allocations: 154.6 kB / 0.9411 GB, free: 13.19 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.9014, allocations: 28.81 kB / 0.9411 GB, free: 13.17 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.9018, allocations: 227.7 kB / 0.9413 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.9018, allocations: 3.234 kB / 0.9413 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.9018, allocations: 3.438 kB / 0.9413 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.9018, allocations: 0 / 0.9413 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.9028, allocations: 0.6764 MB / 0.942 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9028, allocations: 3.469 kB / 0.942 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.9029, allocations: 36.98 kB / 0.942 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.9029, allocations: 4.016 kB / 0.942 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.903, allocations: 6.438 kB / 0.942 GB, free: 12.76 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.903, allocations: 13.03 kB / 0.942 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.903, allocations: 1.781 kB / 0.942 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/0.907, allocations: 2.027 MB / 0.944 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.9071, allocations: 127.8 kB / 0.9441 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.9072, allocations: 5.969 kB / 0.9442 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.9074, allocations: 14.97 kB / 0.9442 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.9074, allocations: 23.94 kB / 0.9442 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.9074, allocations: 6.031 kB / 0.9442 GB, free: 11.52 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001822/0.9076, allocations: 224.3 kB / 0.9444 GB, free: 11.44 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9076, allocations: 0 / 0.9444 GB, free: 11.44 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004797/0.9081, allocations: 103.1 kB / 0.9445 GB, free: 11.44 MB / 0.573 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.0003605/0.9085, allocations: 177.9 kB / 0.9447 GB, free: 11.32 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.9089, allocations: 169.7 kB / 0.9448 GB, free: 11.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9089, allocations: 4.188 kB / 0.9448 GB, free: 11.31 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.9091, allocations: 88.86 kB / 0.9449 GB, free: 11.31 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.9099, allocations: 154.9 kB / 0.9451 GB, free: 11.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.9109, allocations: 0.8394 MB / 0.9459 GB, free: 10.74 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.9112, allocations: 0.7827 MB / 0.9467 GB, free: 10.04 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.9115, allocations: 65.39 kB / 0.9467 GB, free: 10.03 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.9115, allocations: 26.84 kB / 0.9467 GB, free: 10.02 MB / 0.573 GB Notification: Performance of SimCode: time 3.51e-07/0.9115, allocations: 4 kB / 0.9468 GB, free: 10.02 MB / 0.573 GB Notification: Performance of Templates: time 0.008712/0.9202, allocations: 5.615 MB / 0.9522 GB, free: 9.652 MB / 0.573 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)