Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.715/0.715, allocations: 128.7 MB / 144.5 MB, free: 1.402 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 181.3 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205 MB / 408.9 MB, free: 9.758 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008755/0.0008755, allocations: 111.8 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 60.7 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1355, allocations: 75.48 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4595/0.5951, allocations: 174.6 MB / 0.8022 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.5979, allocations: 1.628 MB / 0.8038 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.5983, allocations: 10.72 kB / 0.8038 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.5987, allocations: 113 kB / 0.8039 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.6006, allocations: 0.6707 MB / 0.8046 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.6021, allocations: 0.5197 MB / 0.8051 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001136/0.6032, allocations: 1.066 MB / 0.8061 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.6036, allocations: 203.6 kB / 0.8063 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006383/0.6042, allocations: 334.7 kB / 0.8066 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.6045, allocations: 246.5 kB / 0.8069 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.6046, allocations: 15.31 kB / 0.8069 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.6064, allocations: 1.013 MB / 0.8079 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.6066, allocations: 100.7 kB / 0.808 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.6068, allocations: 157.3 kB / 0.8081 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.608, allocations: 0.7824 MB / 0.8089 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.608, allocations: 2.094 kB / 0.8089 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.032e-06/0.608, allocations: 4 kB / 0.8089 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.608, allocations: 0 / 0.8089 GB, free: 10.31 MB / 0.5261 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.001035/0.6091, allocations: 0.6694 MB / 0.8095 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.6091, allocations: 7.812 kB / 0.8095 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.6102, allocations: 156.2 kB / 0.8097 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.6106, allocations: 310.2 kB / 0.81 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.6106, allocations: 21.38 kB / 0.81 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.6107, allocations: 21.66 kB / 0.81 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.6111, allocations: 270.1 kB / 0.8103 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.6111, allocations: 0 / 0.8103 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.6112, allocations: 13.81 kB / 0.8103 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6112, allocations: 4.812 kB / 0.8103 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.6116, allocations: 210.3 kB / 0.8105 GB, free: 9.27 MB / 0.5261 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.001245/0.6129, allocations: 1.064 MB / 0.8115 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.6132, allocations: 167 kB / 0.8117 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.6134, allocations: 96.88 kB / 0.8118 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005846/0.614, allocations: 298.3 kB / 0.8121 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.614, allocations: 40.09 kB / 0.8121 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.614, allocations: 0 / 0.8121 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0007258/0.6147, allocations: 292 kB / 0.8124 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.6148, allocations: 57.19 kB / 0.8125 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.6151, allocations: 321.1 kB / 0.8128 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.6151, allocations: 27.55 kB / 0.8128 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.6152, allocations: 179.9 kB / 0.813 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.6153, allocations: 63.64 kB / 0.813 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.6154, allocations: 45.8 kB / 0.8131 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.6155, allocations: 339.9 kB / 0.8134 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.6157, allocations: 68.28 kB / 0.8135 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.6159, allocations: 117.5 kB / 0.8136 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.6163, allocations: 193.1 kB / 0.8137 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6163, allocations: 0 / 0.8137 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004375/0.6167, allocations: 241 kB / 0.814 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6167, allocations: 11.34 kB / 0.814 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6168, allocations: 2.531 kB / 0.814 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6168, allocations: 2.281 kB / 0.814 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.617, allocations: 48.72 kB / 0.814 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.617, allocations: 2.125 kB / 0.814 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.6172, allocations: 35.11 kB / 0.8141 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.6172, allocations: 5.156 kB / 0.8141 GB, free: 6.922 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (23): * Single equations (assignments): 23 * 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.0001286/0.6174, allocations: 152.9 kB / 0.8142 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.6174, allocations: 30.41 kB / 0.8143 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.6179, allocations: 230.6 kB / 0.8145 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6179, allocations: 2.25 kB / 0.8145 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6179, allocations: 0 / 0.8145 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.6179, allocations: 3.984 kB / 0.8145 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009786/0.6189, allocations: 0.6766 MB / 0.8151 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6189, allocations: 2.656 kB / 0.8151 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.6191, allocations: 33.95 kB / 0.8152 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.6191, allocations: 6.078 kB / 0.8152 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.6191, allocations: 10.25 kB / 0.8152 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6191, allocations: 1.938 kB / 0.8152 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6191, allocations: 6.562 kB / 0.8152 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004187/0.6233, allocations: 2.04 MB / 0.8172 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.6235, allocations: 109.9 kB / 0.8173 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.6235, allocations: 20.73 kB / 0.8173 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.6237, allocations: 15.05 kB / 0.8173 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.6238, allocations: 15.48 kB / 0.8173 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.6238, allocations: 4.844 kB / 0.8174 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001979/0.624, allocations: 230 kB / 0.8176 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.624, allocations: 0 / 0.8176 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004919/0.6245, allocations: 110.3 kB / 0.8177 GB, free: 4.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (16): * Single equations (assignments): 16 * 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.0003635/0.6249, allocations: 162.1 kB / 0.8178 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.6253, allocations: 173.3 kB / 0.818 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6253, allocations: 0 / 0.818 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.6255, allocations: 94.69 kB / 0.8181 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008605/0.6263, allocations: 170.9 kB / 0.8183 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.6274, allocations: 0.8629 MB / 0.8191 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.6277, allocations: 0.791 MB / 0.8199 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.6279, allocations: 55.33 kB / 0.8199 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.628, allocations: 24.81 kB / 0.8199 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.628, allocations: 6.844 kB / 0.8199 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of Templates: time 0.009297/0.6373, allocations: 5.68 MB / 0.8255 GB, free: 160 kB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)