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/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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 109.2 kB / 15.99 MB, free: 6.355 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.001286/0.001286, allocations: 192.5 kB / 16.91 MB, free: 6.188 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.434/1.434, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9055/0.9055, allocations: 143.3 MB / 434 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.91 kB / 0.5146 GB, free: 15.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3335, allocations: 82.04 MB / 0.5947 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5154/0.8489, allocations: 165.2 MB / 0.756 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.8515, allocations: 1.543 MB / 0.7575 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.8519, allocations: 11.94 kB / 0.7575 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.8524, allocations: 129.9 kB / 0.7576 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.8541, allocations: 0.6646 MB / 0.7583 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.8557, allocations: 0.5585 MB / 0.7588 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008613/0.8565, allocations: 0.7223 MB / 0.7595 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.8569, allocations: 231.4 kB / 0.7597 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006439/0.8576, allocations: 348.7 kB / 0.7601 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.8579, allocations: 238 kB / 0.7603 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.8579, allocations: 24.19 kB / 0.7603 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.8597, allocations: 0.8945 MB / 0.7612 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.8599, allocations: 116 kB / 0.7613 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.8601, allocations: 170.6 kB / 0.7615 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.8612, allocations: 0.5255 MB / 0.762 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8612, allocations: 5.031 kB / 0.762 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8612, allocations: 0.9062 kB / 0.762 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.8612, allocations: 0 / 0.762 GB, free: 1.633 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001152/0.8624, allocations: 0.6651 MB / 0.7626 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.8624, allocations: 9.656 kB / 0.7626 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.8637, allocations: 158.5 kB / 0.7628 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.8643, allocations: 316.2 kB / 0.7631 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.8643, allocations: 14.91 kB / 0.7631 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.8644, allocations: 23.41 kB / 0.7631 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.8649, allocations: 282.1 kB / 0.7634 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.8649, allocations: 1.875 kB / 0.7634 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.8649, allocations: 9.844 kB / 0.7634 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.8649, allocations: 6.875 kB / 0.7634 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.8654, allocations: 204.8 kB / 0.7636 GB, free: 16.81 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.001551/0.8669, allocations: 1.232 MB / 0.7648 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.8672, allocations: 152.2 kB / 0.765 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.8674, allocations: 97.91 kB / 0.7651 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007276/0.8682, allocations: 304 kB / 0.7654 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.8682, allocations: 34.12 kB / 0.7654 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.8682, allocations: 0 / 0.7654 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0008012/0.869, allocations: 295.5 kB / 0.7657 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.8691, allocations: 54.81 kB / 0.7657 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.8695, allocations: 323.8 kB / 0.766 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.8695, allocations: 30.3 kB / 0.7661 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.8697, allocations: 182.6 kB / 0.7662 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.8697, allocations: 60.64 kB / 0.7663 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.8698, allocations: 47.42 kB / 0.7663 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.87, allocations: 345.6 kB / 0.7667 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.8702, allocations: 72.64 kB / 0.7667 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.8704, allocations: 124.7 kB / 0.7669 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.8708, allocations: 199.3 kB / 0.767 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8709, allocations: 0.6562 kB / 0.767 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000582/0.8714, allocations: 251.8 kB / 0.7673 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.8715, allocations: 8.75 kB / 0.7673 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.8715, allocations: 4.297 kB / 0.7673 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.8715, allocations: 3.594 kB / 0.7673 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.8718, allocations: 43.83 kB / 0.7673 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.8718, allocations: 6.703 kB / 0.7673 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.8721, allocations: 36.56 kB / 0.7674 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.8721, allocations: 14.94 kB / 0.7674 GB, free: 14.72 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.0001795/0.8723, allocations: 151.8 kB / 0.7675 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.8724, allocations: 31.25 kB / 0.7676 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.8729, allocations: 227 kB / 0.7678 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8729, allocations: 3.438 kB / 0.7678 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8729, allocations: 4 kB / 0.7678 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.8729, allocations: 5.156 kB / 0.7678 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.8739, allocations: 0.7121 MB / 0.7685 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8739, allocations: 7.406 kB / 0.7685 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.8741, allocations: 37.14 kB / 0.7685 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.8741, allocations: 3.406 kB / 0.7685 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.8742, allocations: 6.156 kB / 0.7685 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8742, allocations: 3.844 kB / 0.7685 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8742, allocations: 2.125 kB / 0.7686 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.8748, allocations: 447.5 kB / 0.769 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.8749, allocations: 128.4 kB / 0.7691 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.875, allocations: 6.938 kB / 0.7691 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.8752, allocations: 22.88 kB / 0.7691 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.8752, allocations: 18.47 kB / 0.7691 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.8752, allocations: 6.406 kB / 0.7692 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002036/0.8754, allocations: 233 kB / 0.7694 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8755, allocations: 0 / 0.7694 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004517/0.8759, allocations: 88.44 kB / 0.7695 GB, free: 13.77 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.0004406/0.8764, allocations: 172.7 kB / 0.7696 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.8768, allocations: 190.9 kB / 0.7698 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8768, allocations: 1.5 kB / 0.7698 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.877, allocations: 93.36 kB / 0.7699 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008524/0.8779, allocations: 172.5 kB / 0.7701 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/0.8788, allocations: 0.7486 MB / 0.7708 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.8793, allocations: 0.7807 MB / 0.7716 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.8793, allocations: 31.06 kB / 0.7716 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of SimCode: time 1.383e-06/0.8794, allocations: 0.9688 kB / 0.7716 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of Templates: time 0.008103/0.8875, allocations: 4.956 MB / 0.7764 GB, free: 12.23 MB / 0.5919 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)