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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8913/0.8913, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.00112/0.00112, allocations: 183.8 kB / 182.2 MB, free: 9.473 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.476/1.476, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009238/0.0009239, allocations: 96.08 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 276.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.161e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4035, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.417/4.821, allocations: 1.866 GB / 2.623 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/4.821, allocations: 93.56 kB / 2.624 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8619/5.683, allocations: 243.8 MB / 2.862 GB, free: 196.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/5.683, allocations: 3.938 kB / 2.862 GB, free: 196.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.911e-05/5.683, allocations: 19.22 kB / 2.862 GB, free: 196.9 MB / 0.698 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.001216/5.684, allocations: 0.6389 MB / 2.862 GB, free: 196.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/5.684, allocations: 8.031 kB / 2.862 GB, free: 196.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/5.686, allocations: 151.4 kB / 2.862 GB, free: 196.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/5.686, allocations: 324.7 kB / 2.863 GB, free: 195.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/5.686, allocations: 8 kB / 2.863 GB, free: 195.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/5.686, allocations: 16 kB / 2.863 GB, free: 195.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002707/5.687, allocations: 149.1 kB / 2.863 GB, free: 195.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/5.687, allocations: 232.8 kB / 2.863 GB, free: 195.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/5.687, allocations: 3.938 kB / 2.863 GB, free: 195.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/5.687, allocations: 1.031 kB / 2.863 GB, free: 195.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/5.687, allocations: 8 kB / 2.863 GB, free: 195.3 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.001235/5.688, allocations: 1.161 MB / 2.864 GB, free: 194 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/5.688, allocations: 110.5 kB / 2.864 GB, free: 193.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.119e-05/5.688, allocations: 68.84 kB / 2.864 GB, free: 193.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004304/5.689, allocations: 299.2 kB / 2.865 GB, free: 193.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/5.689, allocations: 38.56 kB / 2.865 GB, free: 193.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.674e-06/5.689, allocations: 0 / 2.865 GB, free: 193.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0006184/5.69, allocations: 210.9 kB / 2.865 GB, free: 193.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/5.69, allocations: 51.41 kB / 2.865 GB, free: 193.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/5.69, allocations: 214.3 kB / 2.865 GB, free: 193 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/5.69, allocations: 25.7 kB / 2.865 GB, free: 192.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/5.69, allocations: 184.1 kB / 2.865 GB, free: 192.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/5.69, allocations: 59.11 kB / 2.865 GB, free: 192.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/5.69, allocations: 0 / 2.865 GB, free: 192.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/5.69, allocations: 334.8 kB / 2.866 GB, free: 192.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/5.69, allocations: 47.98 kB / 2.866 GB, free: 192.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/5.69, allocations: 110.8 kB / 2.866 GB, free: 192.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/5.69, allocations: 95.91 kB / 2.866 GB, free: 192.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/5.69, allocations: 4 kB / 2.866 GB, free: 192.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003731/5.691, allocations: 237 kB / 2.866 GB, free: 191.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/5.691, allocations: 4 kB / 2.866 GB, free: 191.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/5.691, allocations: 4 kB / 2.866 GB, free: 191.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/5.691, allocations: 0 / 2.866 GB, free: 191.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/5.691, allocations: 43.97 kB / 2.866 GB, free: 191.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/5.691, allocations: 7.938 kB / 2.866 GB, free: 191.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/5.691, allocations: 31.92 kB / 2.866 GB, free: 191.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/5.691, allocations: 8 kB / 2.866 GB, free: 191.8 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/5.691, allocations: 105 kB / 2.866 GB, free: 191.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/5.692, allocations: 27.67 kB / 2.866 GB, free: 191.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/5.692, allocations: 204.3 kB / 2.867 GB, free: 191.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/5.692, allocations: 7.938 kB / 2.867 GB, free: 191.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/5.692, allocations: 4 kB / 2.867 GB, free: 191.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/5.692, allocations: 0 / 2.867 GB, free: 191.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/5.693, allocations: 0.6344 MB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/5.693, allocations: 4 kB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/5.693, allocations: 39.92 kB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/5.693, allocations: 4 kB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/5.693, allocations: 3.984 kB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/5.693, allocations: 4 kB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/5.693, allocations: 4.062 kB / 2.867 GB, free: 190.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/5.693, allocations: 486.6 kB / 2.868 GB, free: 190.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/5.694, allocations: 120.8 kB / 2.868 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/5.694, allocations: 4 kB / 2.868 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/5.694, allocations: 20.05 kB / 2.868 GB, free: 189.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/5.694, allocations: 11.94 kB / 2.868 GB, free: 189.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/5.694, allocations: 12 kB / 2.868 GB, free: 189.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001218/5.694, allocations: 166 kB / 2.868 GB, free: 189.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.643e-06/5.694, allocations: 3.938 kB / 2.868 GB, free: 189.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000599/5.695, allocations: 150.2 kB / 2.868 GB, free: 189.6 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/5.696, allocations: 1.183 MB / 2.869 GB, free: 188.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002452/5.696, allocations: 135.1 kB / 2.87 GB, free: 188.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/5.696, allocations: 0 / 2.87 GB, free: 188.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-05/5.697, allocations: 67.86 kB / 2.87 GB, free: 188.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/5.697, allocations: 105.4 kB / 2.87 GB, free: 188.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/5.698, allocations: 421.3 kB / 2.87 GB, free: 187.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/5.698, allocations: 0.7873 MB / 2.871 GB, free: 187 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000213/5.698, allocations: 54.03 kB / 2.871 GB, free: 186.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/5.698, allocations: 23.42 kB / 2.871 GB, free: 186.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/5.698, allocations: 3.938 kB / 2.871 GB, free: 186.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01535/5.714, allocations: 9.872 MB / 2.881 GB, free: 177.1 MB / 0.698 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)