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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001046/0.001046, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 193.4 kB / 16.53 MB, free: 6.395 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9682/0.9682, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 0.5142 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1966, allocations: 82.03 MB / 0.5943 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4636/0.6602, allocations: 167.4 MB / 0.7578 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.6632, allocations: 1.569 MB / 0.7593 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.6636, allocations: 11.94 kB / 0.7593 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.6641, allocations: 146.8 kB / 0.7595 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.666, allocations: 0.7039 MB / 0.7602 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.6676, allocations: 0.6021 MB / 0.7607 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00085/0.6684, allocations: 0.7138 MB / 0.7614 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.6688, allocations: 233 kB / 0.7617 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.6695, allocations: 346.7 kB / 0.762 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.6697, allocations: 231 kB / 0.7622 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.6698, allocations: 24 kB / 0.7622 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.6715, allocations: 0.8611 MB / 0.7631 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.6717, allocations: 111.7 kB / 0.7632 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.6719, allocations: 183.1 kB / 0.7634 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.6731, allocations: 0.7381 MB / 0.7641 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.6732, allocations: 4 kB / 0.7641 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6732, allocations: 0 / 0.7641 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.6732, allocations: 0 / 0.7641 GB, free: 15.39 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.0009786/0.6742, allocations: 0.663 MB / 0.7647 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6742, allocations: 8.031 kB / 0.7647 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.6754, allocations: 155.5 kB / 0.7649 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.6759, allocations: 314.7 kB / 0.7652 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.6759, allocations: 16.56 kB / 0.7652 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.6759, allocations: 23.94 kB / 0.7652 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.6764, allocations: 293.8 kB / 0.7655 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6764, allocations: 0 / 0.7655 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.6765, allocations: 4 kB / 0.7655 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.6765, allocations: 8 kB / 0.7655 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.6769, allocations: 196.9 kB / 0.7657 GB, free: 13.64 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.001329/0.6782, allocations: 1.235 MB / 0.7669 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.6785, allocations: 154.3 kB / 0.7671 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.6788, allocations: 92.8 kB / 0.7671 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006299/0.6794, allocations: 307.2 kB / 0.7674 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.6794, allocations: 32.25 kB / 0.7675 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.6794, allocations: 0 / 0.7675 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007579/0.6802, allocations: 297.4 kB / 0.7678 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.6803, allocations: 55.41 kB / 0.7678 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.6806, allocations: 324.5 kB / 0.7681 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.6806, allocations: 25.7 kB / 0.7681 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.6807, allocations: 188.1 kB / 0.7683 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.6808, allocations: 67.05 kB / 0.7684 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/0.6809, allocations: 45.7 kB / 0.7684 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.681, allocations: 342.8 kB / 0.7688 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.6812, allocations: 71.95 kB / 0.7688 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.6814, allocations: 120.5 kB / 0.7689 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.6818, allocations: 202 kB / 0.7691 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6818, allocations: 3.938 kB / 0.7691 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004793/0.6823, allocations: 258.7 kB / 0.7694 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6823, allocations: 8 kB / 0.7694 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6823, allocations: 0 / 0.7694 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6824, allocations: 4.562 kB / 0.7694 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.6826, allocations: 47.91 kB / 0.7694 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.6826, allocations: 7.938 kB / 0.7694 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.6828, allocations: 31.67 kB / 0.7695 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.6829, allocations: 8.5 kB / 0.7695 GB, free: 9.5 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.0001526/0.683, allocations: 153.8 kB / 0.7696 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.6831, allocations: 31.62 kB / 0.7697 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.6836, allocations: 236.7 kB / 0.7699 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6836, allocations: 4 kB / 0.7699 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6836, allocations: 0 / 0.7699 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6836, allocations: 0 / 0.7699 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.6847, allocations: 0.7029 MB / 0.7706 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6847, allocations: 0 / 0.7706 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.6849, allocations: 40.2 kB / 0.7706 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.6849, allocations: 7.984 kB / 0.7706 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.6849, allocations: 4 kB / 0.7706 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.6849, allocations: 7.875 kB / 0.7706 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6849, allocations: 4 kB / 0.7706 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.6856, allocations: 450.2 kB / 0.7711 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.6857, allocations: 120.7 kB / 0.7712 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.6858, allocations: 4.547 kB / 0.7712 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.686, allocations: 20 kB / 0.7712 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.686, allocations: 11.98 kB / 0.7712 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.6861, allocations: 8 kB / 0.7712 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002153/0.6863, allocations: 235 kB / 0.7714 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6863, allocations: 0 / 0.7714 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004191/0.6867, allocations: 91.83 kB / 0.7715 GB, free: 7.254 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.0003934/0.6871, allocations: 169.7 kB / 0.7717 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004657/0.6876, allocations: 183.8 kB / 0.7719 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6876, allocations: 4.188 kB / 0.7719 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.6878, allocations: 95.81 kB / 0.772 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009106/0.6887, allocations: 162.2 kB / 0.7721 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.6898, allocations: 0.6473 MB / 0.7728 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.6901, allocations: 0.7811 MB / 0.7735 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002352/0.6904, allocations: 64.02 kB / 0.7736 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.6905, allocations: 31.38 kB / 0.7736 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.6905, allocations: 4 kB / 0.7736 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of Templates: time 0.01114/0.7016, allocations: 5.827 MB / 0.7793 GB, free: 15.37 MB / 0.6075 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)