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.001876/0.001877, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002309/0.002309, allocations: 191.6 kB / 16.14 MB, free: 6.688 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.9857/0.9857, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1603, allocations: 82.05 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4234/0.5837, allocations: 165.2 MB / 0.7549 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.5861, allocations: 1.577 MB / 0.7565 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.5864, allocations: 11.94 kB / 0.7565 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.5868, allocations: 111.2 kB / 0.7566 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.5882, allocations: 0.673 MB / 0.7572 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.5894, allocations: 0.5537 MB / 0.7578 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008171/0.5902, allocations: 0.9867 MB / 0.7587 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.5905, allocations: 201.4 kB / 0.7589 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.591, allocations: 318.7 kB / 0.7592 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.5913, allocations: 243 kB / 0.7595 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.5913, allocations: 16 kB / 0.7595 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.5928, allocations: 1.009 MB / 0.7605 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.5929, allocations: 95.69 kB / 0.7606 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.593, allocations: 171.1 kB / 0.7607 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.594, allocations: 0.7868 MB / 0.7615 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.594, allocations: 4 kB / 0.7615 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.02e-07/0.594, allocations: 0 / 0.7615 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.594, allocations: 0 / 0.7615 GB, free: 1.934 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.0008663/0.5949, allocations: 0.6621 MB / 0.7621 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.5949, allocations: 12.03 kB / 0.7621 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.5961, allocations: 155.4 kB / 0.7623 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.5965, allocations: 310.7 kB / 0.7626 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.5966, allocations: 16.56 kB / 0.7626 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.5966, allocations: 35.88 kB / 0.7626 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.5971, allocations: 282.4 kB / 0.7629 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5971, allocations: 0 / 0.7629 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.5971, allocations: 8 kB / 0.7629 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5972, allocations: 8 kB / 0.7629 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.5976, allocations: 204.9 kB / 0.7631 GB, free: 168 kB / 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.001315/0.5989, allocations: 1.227 MB / 0.7643 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.5992, allocations: 155 kB / 0.7645 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.5994, allocations: 92.81 kB / 0.7646 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/0.6, allocations: 299.2 kB / 0.7648 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.6, allocations: 39.06 kB / 0.7649 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.6001, allocations: 0 / 0.7649 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.000764/0.6008, allocations: 290.4 kB / 0.7652 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.6009, allocations: 55.41 kB / 0.7652 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.6012, allocations: 324.5 kB / 0.7655 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.6012, allocations: 29.7 kB / 0.7655 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.6013, allocations: 188.1 kB / 0.7657 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.6014, allocations: 63.09 kB / 0.7658 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.6015, allocations: 45.7 kB / 0.7658 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6016, allocations: 342.8 kB / 0.7662 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.6018, allocations: 63.95 kB / 0.7662 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.602, allocations: 128.1 kB / 0.7663 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.6024, allocations: 197.3 kB / 0.7665 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6024, allocations: 8 kB / 0.7665 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004835/0.6029, allocations: 253.7 kB / 0.7668 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6029, allocations: 8 kB / 0.7668 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6029, allocations: 0 / 0.7668 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.6029, allocations: 4 kB / 0.7668 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.6031, allocations: 43.91 kB / 0.7668 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6031, allocations: 4 kB / 0.7668 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.6034, allocations: 39.77 kB / 0.7669 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.6034, allocations: 8 kB / 0.7669 GB, free: 12.05 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.0001323/0.6035, allocations: 157.8 kB / 0.767 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.6036, allocations: 35.56 kB / 0.7671 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.6041, allocations: 230.5 kB / 0.7673 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.6041, allocations: 11.92 kB / 0.7673 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6041, allocations: 0 / 0.7673 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6041, allocations: 0 / 0.7673 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.6052, allocations: 0.7107 MB / 0.768 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6052, allocations: 0 / 0.768 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.6053, allocations: 31.98 kB / 0.768 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.6054, allocations: 4 kB / 0.768 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.6054, allocations: 4 kB / 0.768 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.6054, allocations: 15.81 kB / 0.768 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6054, allocations: 6.172 kB / 0.768 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.6061, allocations: 450.3 kB / 0.7685 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6062, allocations: 124.7 kB / 0.7686 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.6062, allocations: 4 kB / 0.7686 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.6064, allocations: 15.92 kB / 0.7686 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.6065, allocations: 20.05 kB / 0.7686 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.6065, allocations: 8 kB / 0.7686 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002151/0.6067, allocations: 227 kB / 0.7689 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6068, allocations: 0 / 0.7689 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004038/0.6072, allocations: 95.83 kB / 0.769 GB, free: 9.785 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.0003868/0.6076, allocations: 164.5 kB / 0.7691 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.608, allocations: 181.6 kB / 0.7693 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.608, allocations: 0 / 0.7693 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.6082, allocations: 96.45 kB / 0.7694 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008985/0.6091, allocations: 159.3 kB / 0.7695 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.6102, allocations: 0.724 MB / 0.7702 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.6105, allocations: 0.7852 MB / 0.771 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.6107, allocations: 63.73 kB / 0.7711 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.6108, allocations: 27.44 kB / 0.7711 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6108, allocations: 0 / 0.7711 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of Templates: time 0.01018/0.621, allocations: 5.553 MB / 0.7765 GB, free: 2.105 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)