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.000798/0.0007981, allocations: 99.03 kB / 16.02 MB, free: 72 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.0008619/0.0008622, allocations: 183.2 kB / 16.92 MB, free: 6.918 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.511/1.511, allocations: 223.3 MB / 241 MB, free: 5.34 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 1.162/1.162, allocations: 143.2 MB / 435.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 8.281 kB / 0.5171 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 83.4 MB / 0.5985 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4974/0.6746, allocations: 163 MB / 0.7577 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003032/0.6777, allocations: 1.554 MB / 0.7592 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.6781, allocations: 11.88 kB / 0.7592 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.6786, allocations: 119.2 kB / 0.7594 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.6804, allocations: 0.677 MB / 0.76 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.682, allocations: 0.5505 MB / 0.7606 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.6831, allocations: 0.9828 MB / 0.7615 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.6835, allocations: 190.3 kB / 0.7617 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006711/0.6841, allocations: 322.7 kB / 0.762 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.6844, allocations: 231 kB / 0.7622 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.6845, allocations: 16 kB / 0.7622 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.6862, allocations: 1.009 MB / 0.7632 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.6864, allocations: 103.6 kB / 0.7633 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.6866, allocations: 184.9 kB / 0.7635 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006938/0.6873, allocations: 0.5143 MB / 0.764 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6873, allocations: 4 kB / 0.764 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6873, allocations: 3.938 kB / 0.764 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.6873, allocations: 0 / 0.764 GB, free: 2.641 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.0009297/0.6883, allocations: 0.6076 MB / 0.7646 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6883, allocations: 8.031 kB / 0.7646 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.6895, allocations: 163.3 kB / 0.7648 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.6899, allocations: 306.7 kB / 0.7651 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.6899, allocations: 21.06 kB / 0.7651 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.69, allocations: 23.92 kB / 0.7651 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.6905, allocations: 293.8 kB / 0.7654 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6906, allocations: 0 / 0.7654 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.6906, allocations: 8 kB / 0.7654 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.6906, allocations: 4 kB / 0.7654 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.691, allocations: 215.8 kB / 0.7656 GB, free: 0.918 MB / 0.5762 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.001427/0.6925, allocations: 1.238 MB / 0.7668 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.6928, allocations: 154.5 kB / 0.767 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.693, allocations: 96.8 kB / 0.767 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000634/0.6936, allocations: 323.2 kB / 0.7674 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.6937, allocations: 30.56 kB / 0.7674 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.6937, allocations: 0 / 0.7674 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0008218/0.6945, allocations: 318.6 kB / 0.7677 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.6946, allocations: 51.41 kB / 0.7677 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.6949, allocations: 324.5 kB / 0.768 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.6949, allocations: 29.7 kB / 0.7681 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.6951, allocations: 184.1 kB / 0.7683 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.6951, allocations: 59.11 kB / 0.7683 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.6952, allocations: 25.7 kB / 0.7683 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6953, allocations: 338.8 kB / 0.7687 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.6955, allocations: 79.94 kB / 0.7687 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.6957, allocations: 128.8 kB / 0.7689 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.6961, allocations: 218.4 kB / 0.7691 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6962, allocations: 0 / 0.7691 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004934/0.6967, allocations: 262.2 kB / 0.7693 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6967, allocations: 9.719 kB / 0.7693 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.6967, allocations: 0 / 0.7693 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.6967, allocations: 4 kB / 0.7693 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.6969, allocations: 56 kB / 0.7694 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.697, allocations: 0 / 0.7694 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.6972, allocations: 39.67 kB / 0.7694 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.6972, allocations: 8.859 kB / 0.7694 GB, free: 12.73 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.0001518/0.6974, allocations: 161.6 kB / 0.7696 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.6974, allocations: 31.62 kB / 0.7696 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.6979, allocations: 241.6 kB / 0.7698 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.698, allocations: 3.938 kB / 0.7698 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.698, allocations: 0 / 0.7698 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.698, allocations: 0 / 0.7698 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.699, allocations: 0.7224 MB / 0.7705 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6991, allocations: 0 / 0.7705 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.6992, allocations: 42.67 kB / 0.7706 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.6993, allocations: 7.984 kB / 0.7706 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.6993, allocations: 4 kB / 0.7706 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.6993, allocations: 7.938 kB / 0.7706 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6993, allocations: 0 / 0.7706 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006775/0.7, allocations: 470.5 kB / 0.7711 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.7001, allocations: 116.8 kB / 0.7712 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.7001, allocations: 7.984 kB / 0.7712 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.7003, allocations: 27.89 kB / 0.7712 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.7004, allocations: 15.98 kB / 0.7712 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.7004, allocations: 8 kB / 0.7712 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000221/0.7007, allocations: 227 kB / 0.7714 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7007, allocations: 3.938 kB / 0.7714 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004026/0.7011, allocations: 87.94 kB / 0.7715 GB, free: 10.43 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.0003953/0.7015, allocations: 169.6 kB / 0.7717 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.7019, allocations: 187.8 kB / 0.7719 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7019, allocations: 96 / 0.7719 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.7022, allocations: 104.4 kB / 0.772 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009935/0.7032, allocations: 162.4 kB / 0.7721 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.7043, allocations: 0.8062 MB / 0.7729 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.7047, allocations: 0.7758 MB / 0.7737 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.7047, allocations: 31.44 kB / 0.7737 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.7048, allocations: 0 / 0.7737 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of Templates: time 0.007829/0.7126, allocations: 4.912 MB / 0.7785 GB, free: 3.305 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)