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.001083/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001559/0.00156, allocations: 195.9 kB / 16.14 MB, free: 6.672 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 289.1 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9383/0.9383, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 88.75 kB / 0.5945 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1967, allocations: 86.99 MB / 0.6794 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5471/0.7439, allocations: 165.1 MB / 0.8407 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.7467, allocations: 1.556 MB / 0.8422 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.7471, allocations: 11.19 kB / 0.8422 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.7477, allocations: 121.1 kB / 0.8423 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.7498, allocations: 0.666 MB / 0.843 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.7515, allocations: 0.5455 MB / 0.8435 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.7527, allocations: 0.9773 MB / 0.8445 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.7531, allocations: 194.2 kB / 0.8446 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007273/0.7538, allocations: 316.4 kB / 0.8449 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.7544, allocations: 233.2 kB / 0.8452 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.561e-05/0.7545, allocations: 15.12 kB / 0.8452 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.7565, allocations: 1.01 MB / 0.8462 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.7567, allocations: 106.3 kB / 0.8463 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.757, allocations: 150.4 kB / 0.8464 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.7584, allocations: 0.7725 MB / 0.8472 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7584, allocations: 0 / 0.8472 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7585, allocations: 0 / 0.8472 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.7585, allocations: 0 / 0.8472 GB, free: 13.2 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.001124/0.7596, allocations: 0.6487 MB / 0.8478 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.7597, allocations: 8.062 kB / 0.8478 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.7609, allocations: 154.5 kB / 0.8479 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.7613, allocations: 308 kB / 0.8482 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.7614, allocations: 19.09 kB / 0.8483 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.7614, allocations: 21.34 kB / 0.8483 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.762, allocations: 276.4 kB / 0.8485 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.762, allocations: 11.19 kB / 0.8486 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.762, allocations: 5.438 kB / 0.8486 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.762, allocations: 5.312 kB / 0.8486 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.7625, allocations: 196.9 kB / 0.8488 GB, free: 11.96 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.001432/0.7639, allocations: 1.21 MB / 0.8499 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.7642, allocations: 144.2 kB / 0.8501 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.7644, allocations: 91.52 kB / 0.8502 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/0.765, allocations: 301.3 kB / 0.8504 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.7651, allocations: 37.09 kB / 0.8505 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.7651, allocations: 0 / 0.8505 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007128/0.7658, allocations: 281.4 kB / 0.8508 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.7659, allocations: 58.03 kB / 0.8508 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.7661, allocations: 312 kB / 0.8511 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.7662, allocations: 28.58 kB / 0.8511 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.7663, allocations: 179.9 kB / 0.8513 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.7664, allocations: 58.09 kB / 0.8514 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.7664, allocations: 48.14 kB / 0.8514 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.7666, allocations: 339 kB / 0.8517 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.7667, allocations: 65.8 kB / 0.8518 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.7669, allocations: 127.5 kB / 0.8519 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.7673, allocations: 184.9 kB / 0.8521 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7673, allocations: 0 / 0.8521 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004298/0.7677, allocations: 245.9 kB / 0.8523 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.7678, allocations: 4.812 kB / 0.8523 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7678, allocations: 1.594 kB / 0.8523 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7678, allocations: 3.219 kB / 0.8523 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.768, allocations: 46.62 kB / 0.8524 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.768, allocations: 2.656 kB / 0.8524 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.7682, allocations: 32.75 kB / 0.8524 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.7683, allocations: 16.41 kB / 0.8524 GB, free: 8.93 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.0001403/0.7684, allocations: 152.8 kB / 0.8526 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.7685, allocations: 33.19 kB / 0.8526 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/0.7689, allocations: 219 kB / 0.8528 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.769, allocations: 6.453 kB / 0.8528 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.769, allocations: 0 / 0.8528 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.769, allocations: 4 kB / 0.8528 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009801/0.77, allocations: 0.683 MB / 0.8535 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.77, allocations: 2.938 kB / 0.8535 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.7701, allocations: 26.98 kB / 0.8535 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7702, allocations: 3.219 kB / 0.8535 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.7702, allocations: 10.69 kB / 0.8535 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.7702, allocations: 14.14 kB / 0.8535 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7702, allocations: 2.562 kB / 0.8535 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.7708, allocations: 431.2 kB / 0.854 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.771, allocations: 127.2 kB / 0.8541 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.771, allocations: 7.156 kB / 0.8541 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.7712, allocations: 17.55 kB / 0.8541 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.7713, allocations: 11.73 kB / 0.8541 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.7713, allocations: 9 kB / 0.8541 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002075/0.7715, allocations: 230.7 kB / 0.8543 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7715, allocations: 0 / 0.8543 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003986/0.7719, allocations: 73.5 kB / 0.8544 GB, free: 7.406 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.0003931/0.7723, allocations: 167.3 kB / 0.8546 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.7727, allocations: 172.8 kB / 0.8547 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7727, allocations: 2.625 kB / 0.8547 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.7729, allocations: 88.33 kB / 0.8548 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.7738, allocations: 164.8 kB / 0.855 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.7748, allocations: 0.6896 MB / 0.8557 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.7752, allocations: 0.7794 MB / 0.8564 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002494/0.7754, allocations: 67.09 kB / 0.8565 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.7755, allocations: 24.38 kB / 0.8565 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.7755, allocations: 0 / 0.8565 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.009389/0.7849, allocations: 5.463 MB / 0.8618 GB, free: 3.109 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)