Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001751, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001635/0.001636, allocations: 191.6 kB / 16.25 MB, free: 6.637 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002612/0.002612, allocations: 291.1 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 102.3 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1747, allocations: 89.15 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5641/0.7388, allocations: 165.1 MB / 0.8542 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.7417, allocations: 1.545 MB / 0.8558 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.742, allocations: 13.5 kB / 0.8558 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.7425, allocations: 133.4 kB / 0.8559 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.7443, allocations: 0.6608 MB / 0.8565 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.7458, allocations: 0.5597 MB / 0.8571 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008642/0.7467, allocations: 0.7248 MB / 0.8578 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.747, allocations: 224.5 kB / 0.858 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.7476, allocations: 354.2 kB / 0.8583 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.748, allocations: 233.6 kB / 0.8586 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.748, allocations: 25.22 kB / 0.8586 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.7505, allocations: 0.903 MB / 0.8595 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.7507, allocations: 114.7 kB / 0.8596 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.751, allocations: 168.7 kB / 0.8597 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.7523, allocations: 0.7884 MB / 0.8605 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.7523, allocations: 3.094 kB / 0.8605 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7523, allocations: 0 / 0.8605 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.7523, allocations: 0 / 0.8605 GB, free: 11.88 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001091/0.7534, allocations: 0.664 MB / 0.8612 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.7535, allocations: 10.62 kB / 0.8612 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.7546, allocations: 159.4 kB / 0.8613 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.7551, allocations: 308.7 kB / 0.8616 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.7551, allocations: 19.06 kB / 0.8616 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.7552, allocations: 31.14 kB / 0.8617 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.7557, allocations: 283.5 kB / 0.8619 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7557, allocations: 0 / 0.8619 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.7557, allocations: 10.75 kB / 0.8619 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.7558, allocations: 6.688 kB / 0.862 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.7562, allocations: 205 kB / 0.8621 GB, free: 10.61 MB / 0.5919 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.001552/0.7577, allocations: 1.222 MB / 0.8633 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.758, allocations: 149.4 kB / 0.8635 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.7582, allocations: 94.52 kB / 0.8636 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.7589, allocations: 308.5 kB / 0.8639 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.759, allocations: 34.56 kB / 0.8639 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.823e-06/0.759, allocations: 0 / 0.8639 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0008255/0.7598, allocations: 296 kB / 0.8642 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.7599, allocations: 57.44 kB / 0.8642 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.7603, allocations: 322.4 kB / 0.8645 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.7603, allocations: 28.23 kB / 0.8646 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.7605, allocations: 183.4 kB / 0.8647 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.7606, allocations: 62.78 kB / 0.8648 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.7607, allocations: 47.48 kB / 0.8649 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.7609, allocations: 348.3 kB / 0.8652 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.761, allocations: 70.88 kB / 0.8653 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.7613, allocations: 119.9 kB / 0.8654 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.7616, allocations: 200.1 kB / 0.8656 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7617, allocations: 0 / 0.8656 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004913/0.7621, allocations: 256.6 kB / 0.8658 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7622, allocations: 5.406 kB / 0.8658 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7622, allocations: 2.344 kB / 0.8658 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.7622, allocations: 6.344 kB / 0.8658 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.7624, allocations: 47.19 kB / 0.8659 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.7624, allocations: 3.938 kB / 0.8659 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.7627, allocations: 36.86 kB / 0.8659 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.7627, allocations: 11.75 kB / 0.8659 GB, free: 7.504 MB / 0.5919 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 (24): * Single equations (assignments): 24 * 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.0001606/0.7629, allocations: 156 kB / 0.8661 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.763, allocations: 34.62 kB / 0.8661 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.7634, allocations: 230.5 kB / 0.8663 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.7635, allocations: 2.125 kB / 0.8663 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.7635, allocations: 0 / 0.8663 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.7635, allocations: 4.141 kB / 0.8663 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.7647, allocations: 0.7113 MB / 0.867 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7647, allocations: 3.984 kB / 0.867 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.7649, allocations: 39.88 kB / 0.8671 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.7649, allocations: 2.281 kB / 0.8671 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.7649, allocations: 5.094 kB / 0.8671 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.7649, allocations: 6.656 kB / 0.8671 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7649, allocations: 3.938 kB / 0.8671 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.7656, allocations: 457.6 kB / 0.8675 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.7658, allocations: 123.6 kB / 0.8676 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.7659, allocations: 4.875 kB / 0.8676 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.766, allocations: 19.89 kB / 0.8677 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.7661, allocations: 14.8 kB / 0.8677 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.7661, allocations: 5.375 kB / 0.8677 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002223/0.7663, allocations: 233 kB / 0.8679 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.904e-06/0.7664, allocations: 2.75 kB / 0.8679 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003926/0.7668, allocations: 87.59 kB / 0.868 GB, free: 5.926 MB / 0.5919 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 (17): * Single equations (assignments): 17 * 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.0004105/0.7672, allocations: 163.6 kB / 0.8681 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.7676, allocations: 184.4 kB / 0.8683 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7676, allocations: 2.062 kB / 0.8683 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.7678, allocations: 92.11 kB / 0.8684 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009505/0.7688, allocations: 191.4 kB / 0.8686 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.77, allocations: 0.7092 MB / 0.8693 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.7705, allocations: 0.7834 MB / 0.87 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.7707, allocations: 68.39 kB / 0.8701 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.7708, allocations: 24.78 kB / 0.8701 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.7708, allocations: 0 / 0.8701 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of Templates: time 0.01157/0.7824, allocations: 5.743 MB / 0.8757 GB, free: 492 kB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)