Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001035/0.001035, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001074/0.001074, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7314/0.7314, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 66.92 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1252, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5058/0.631, allocations: 167.4 MB / 0.7955 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.6334, allocations: 1.562 MB / 0.7971 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.6337, allocations: 12.34 kB / 0.7971 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.6341, allocations: 149.4 kB / 0.7972 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.6357, allocations: 0.7043 MB / 0.7979 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.637, allocations: 0.603 MB / 0.7985 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006455/0.6376, allocations: 0.7164 MB / 0.7992 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.6379, allocations: 237 kB / 0.7994 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.6386, allocations: 356 kB / 0.7998 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.6389, allocations: 221.6 kB / 0.8 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.639, allocations: 23.25 kB / 0.8 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.6404, allocations: 0.8712 MB / 0.8008 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.6405, allocations: 110.8 kB / 0.801 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.6407, allocations: 169.4 kB / 0.8011 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.6418, allocations: 0.7343 MB / 0.8018 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6418, allocations: 0 / 0.8018 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6418, allocations: 0 / 0.8018 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6418, allocations: 0 / 0.8018 GB, free: 12.16 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.0009726/0.6428, allocations: 0.6639 MB / 0.8025 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6429, allocations: 12.58 kB / 0.8025 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.644, allocations: 155.5 kB / 0.8026 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.6444, allocations: 331.5 kB / 0.803 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.6445, allocations: 17.41 kB / 0.803 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.6445, allocations: 27.67 kB / 0.803 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.645, allocations: 288 kB / 0.8033 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.645, allocations: 0 / 0.8033 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.6451, allocations: 13.59 kB / 0.8033 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6451, allocations: 8.703 kB / 0.8033 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.6455, allocations: 200.5 kB / 0.8035 GB, free: 11.3 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.001361/0.6468, allocations: 1.227 MB / 0.8047 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.6471, allocations: 148.5 kB / 0.8048 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.6473, allocations: 98.23 kB / 0.8049 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.6479, allocations: 308.9 kB / 0.8052 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.6479, allocations: 36.27 kB / 0.8052 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.6479, allocations: 1.781 kB / 0.8053 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007137/0.6486, allocations: 290.1 kB / 0.8055 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.6487, allocations: 58.17 kB / 0.8056 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.649, allocations: 327.2 kB / 0.8059 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.649, allocations: 29.02 kB / 0.8059 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.6491, allocations: 181.7 kB / 0.8061 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.6492, allocations: 59.09 kB / 0.8062 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.6492, allocations: 45.73 kB / 0.8062 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6494, allocations: 339.8 kB / 0.8065 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.6495, allocations: 75.08 kB / 0.8066 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.6497, allocations: 127.7 kB / 0.8067 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.65, allocations: 196.9 kB / 0.8069 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6501, allocations: 3.984 kB / 0.8069 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004354/0.6505, allocations: 257.9 kB / 0.8072 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6505, allocations: 5.656 kB / 0.8072 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6505, allocations: 2.125 kB / 0.8072 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6506, allocations: 2.219 kB / 0.8072 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.6508, allocations: 48.42 kB / 0.8072 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.6508, allocations: 9.172 kB / 0.8072 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.651, allocations: 26.94 kB / 0.8072 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.651, allocations: 13.77 kB / 0.8073 GB, free: 8.957 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.0001375/0.6512, allocations: 152.1 kB / 0.8074 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.6512, allocations: 34.66 kB / 0.8074 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.6517, allocations: 226.4 kB / 0.8076 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6517, allocations: 2.281 kB / 0.8077 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6517, allocations: 1.125 kB / 0.8077 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.6517, allocations: 6.516 kB / 0.8077 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.6526, allocations: 0.7044 MB / 0.8083 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6526, allocations: 2.375 kB / 0.8083 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.6528, allocations: 33.3 kB / 0.8084 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.6528, allocations: 4.406 kB / 0.8084 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.6528, allocations: 10.25 kB / 0.8084 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.6529, allocations: 7 kB / 0.8084 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6529, allocations: 6.75 kB / 0.8084 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.6535, allocations: 453.6 kB / 0.8088 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6536, allocations: 122.4 kB / 0.809 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.6536, allocations: 9.188 kB / 0.809 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.6538, allocations: 12.83 kB / 0.809 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.6539, allocations: 16.27 kB / 0.809 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.6539, allocations: 11.03 kB / 0.809 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001783/0.6541, allocations: 230.6 kB / 0.8092 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6541, allocations: 0 / 0.8092 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000345/0.6544, allocations: 86.78 kB / 0.8093 GB, free: 7.715 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.0003359/0.6548, allocations: 164 kB / 0.8095 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.6552, allocations: 183.9 kB / 0.8096 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6552, allocations: 0 / 0.8096 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.6554, allocations: 92.64 kB / 0.8097 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/0.6562, allocations: 177.2 kB / 0.8099 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009141/0.6572, allocations: 0.6269 MB / 0.8105 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.6575, allocations: 0.784 MB / 0.8113 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.6577, allocations: 58.22 kB / 0.8113 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.6577, allocations: 24.78 kB / 0.8114 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6577, allocations: 0 / 0.8114 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of Templates: time 0.009321/0.6671, allocations: 5.869 MB / 0.8171 GB, free: 3.426 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)