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.001127/0.001127, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001206/0.001206, allocations: 193.2 kB / 16.25 MB, free: 6.629 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002327/0.002327, allocations: 283.1 kB / 290.3 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9457/0.9457, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 94.36 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2138, allocations: 86.97 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5763/0.7901, allocations: 165.1 MB / 0.8408 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.7927, allocations: 1.537 MB / 0.8423 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.7932, allocations: 11.09 kB / 0.8424 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.7937, allocations: 128 kB / 0.8425 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.7954, allocations: 0.6611 MB / 0.8431 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.7969, allocations: 0.556 MB / 0.8437 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008052/0.7977, allocations: 0.7061 MB / 0.8444 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.798, allocations: 226.9 kB / 0.8446 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005533/0.7986, allocations: 338.4 kB / 0.8449 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.7988, allocations: 226.9 kB / 0.8451 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.7989, allocations: 23.38 kB / 0.8451 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.8006, allocations: 0.8967 MB / 0.846 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.8008, allocations: 104.2 kB / 0.8461 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.8011, allocations: 175 kB / 0.8463 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.8027, allocations: 0.7781 MB / 0.847 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.8027, allocations: 3.938 kB / 0.847 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8027, allocations: 0 / 0.847 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.006e-06/0.8027, allocations: 0 / 0.847 GB, free: 13.65 MB / 0.5762 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.0009885/0.8037, allocations: 0.6512 MB / 0.8477 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.8037, allocations: 10.62 kB / 0.8477 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.8049, allocations: 152.5 kB / 0.8478 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.8053, allocations: 307.2 kB / 0.8481 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.8053, allocations: 16.25 kB / 0.8481 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.8054, allocations: 23.59 kB / 0.8482 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.8059, allocations: 272.5 kB / 0.8484 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.8059, allocations: 7.938 kB / 0.8484 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.8059, allocations: 10.5 kB / 0.8484 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.806, allocations: 4.906 kB / 0.8484 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.8063, allocations: 201.8 kB / 0.8486 GB, free: 12.4 MB / 0.5762 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.001413/0.8078, allocations: 1.212 MB / 0.8498 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.808, allocations: 131.5 kB / 0.8499 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.8082, allocations: 89.67 kB / 0.85 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/0.8088, allocations: 305.4 kB / 0.8503 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.8089, allocations: 37.88 kB / 0.8504 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.8089, allocations: 0 / 0.8504 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007241/0.8096, allocations: 285.8 kB / 0.8506 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.8097, allocations: 51.41 kB / 0.8507 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.81, allocations: 318 kB / 0.851 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.81, allocations: 25.7 kB / 0.851 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.8101, allocations: 180.2 kB / 0.8512 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.8102, allocations: 58.42 kB / 0.8512 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.8103, allocations: 43.3 kB / 0.8513 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.8104, allocations: 336.1 kB / 0.8516 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.8106, allocations: 73.97 kB / 0.8517 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.8108, allocations: 121.7 kB / 0.8518 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.8112, allocations: 189.7 kB / 0.852 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8112, allocations: 0 / 0.852 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005181/0.8117, allocations: 247.5 kB / 0.8522 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.8117, allocations: 10.34 kB / 0.8522 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.8117, allocations: 10.3 kB / 0.8522 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.8118, allocations: 2.375 kB / 0.8522 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.812, allocations: 34.86 kB / 0.8523 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.812, allocations: 3.812 kB / 0.8523 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.8122, allocations: 40.86 kB / 0.8523 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.8123, allocations: 14.67 kB / 0.8523 GB, free: 9.363 MB / 0.5762 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.0001646/0.8125, allocations: 155.1 kB / 0.8525 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.8125, allocations: 23.84 kB / 0.8525 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/0.813, allocations: 227.1 kB / 0.8527 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.813, allocations: 2.562 kB / 0.8527 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.813, allocations: 0 / 0.8527 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.813, allocations: 0 / 0.8527 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.8141, allocations: 0.6795 MB / 0.8534 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8142, allocations: 3.344 kB / 0.8534 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.8143, allocations: 42.53 kB / 0.8534 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.8144, allocations: 2.562 kB / 0.8534 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.8144, allocations: 10.44 kB / 0.8534 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.8144, allocations: 1.781 kB / 0.8534 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8144, allocations: 3.188 kB / 0.8534 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.8151, allocations: 435.6 kB / 0.8538 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.8153, allocations: 121.7 kB / 0.854 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.8154, allocations: 6.5 kB / 0.854 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.8156, allocations: 22.39 kB / 0.854 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.8157, allocations: 8.703 kB / 0.854 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.8157, allocations: 12.72 kB / 0.854 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002581/0.8159, allocations: 226.1 kB / 0.8542 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.51e-07/0.816, allocations: 0 / 0.8542 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000495/0.8165, allocations: 77.98 kB / 0.8543 GB, free: 7.848 MB / 0.5762 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.0005454/0.817, allocations: 164.6 kB / 0.8545 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005076/0.8175, allocations: 175.7 kB / 0.8546 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8176, allocations: 8 kB / 0.8546 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.8178, allocations: 86.27 kB / 0.8547 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009633/0.8187, allocations: 175.5 kB / 0.8549 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.8199, allocations: 0.7017 MB / 0.8556 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.8204, allocations: 0.7744 MB / 0.8563 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000277/0.8207, allocations: 63.36 kB / 0.8564 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.099e-05/0.8208, allocations: 25 kB / 0.8564 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.8208, allocations: 0 / 0.8564 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of Templates: time 0.01189/0.8327, allocations: 5.659 MB / 0.8619 GB, free: 3.441 MB / 0.5762 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)