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.001175/0.001175, allocations: 103.5 kB / 16.27 MB, free: 6 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.001186/0.001186, allocations: 194.1 kB / 17.2 MB, free: 5.605 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.264/1.264, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.8602/0.8602, allocations: 143.1 MB / 434.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.91 kB / 0.5148 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3375, allocations: 82.03 MB / 0.5949 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4987/0.8363, allocations: 167.4 MB / 0.7584 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.8387, allocations: 1.569 MB / 0.76 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.839, allocations: 12.22 kB / 0.76 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.8395, allocations: 144.8 kB / 0.7601 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.8412, allocations: 0.7111 MB / 0.7608 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.8427, allocations: 0.5964 MB / 0.7614 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008302/0.8436, allocations: 0.7196 MB / 0.7621 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.8439, allocations: 231.2 kB / 0.7623 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006376/0.8446, allocations: 347.5 kB / 0.7627 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.8449, allocations: 232.4 kB / 0.7629 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.8449, allocations: 24.09 kB / 0.7629 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.8465, allocations: 0.868 MB / 0.7637 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.8467, allocations: 103.7 kB / 0.7638 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.8469, allocations: 175.9 kB / 0.764 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.848, allocations: 0.7382 MB / 0.7647 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.848, allocations: 0 / 0.7647 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.001e-06/0.848, allocations: 1.031 kB / 0.7647 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.848, allocations: 0.7812 kB / 0.7647 GB, free: 1.57 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.00102/0.849, allocations: 0.6664 MB / 0.7654 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.8491, allocations: 11.81 kB / 0.7654 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.8502, allocations: 157.1 kB / 0.7655 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.8506, allocations: 312 kB / 0.7658 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.8507, allocations: 17.53 kB / 0.7659 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.8507, allocations: 23.28 kB / 0.7659 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.8512, allocations: 288.3 kB / 0.7662 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.8512, allocations: 1.875 kB / 0.7662 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.8512, allocations: 8.094 kB / 0.7662 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.8513, allocations: 6.094 kB / 0.7662 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.8517, allocations: 205.6 kB / 0.7664 GB, free: 16.75 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.001425/0.8531, allocations: 1.232 MB / 0.7676 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.8535, allocations: 151.6 kB / 0.7677 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.8537, allocations: 97.55 kB / 0.7678 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.8543, allocations: 297.2 kB / 0.7681 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.8544, allocations: 42.06 kB / 0.7681 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 2.394e-06/0.8544, allocations: 4.469 kB / 0.7681 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0008908/0.8553, allocations: 289.6 kB / 0.7684 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.8554, allocations: 53.59 kB / 0.7685 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.8557, allocations: 327.8 kB / 0.7688 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.8557, allocations: 32.86 kB / 0.7688 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.8559, allocations: 184.5 kB / 0.769 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.8559, allocations: 64.45 kB / 0.769 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.856, allocations: 45.56 kB / 0.7691 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8561, allocations: 344.2 kB / 0.7694 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.8563, allocations: 71.31 kB / 0.7695 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.8564, allocations: 123.5 kB / 0.7696 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.8568, allocations: 201.2 kB / 0.7698 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.8568, allocations: 0 / 0.7698 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004294/0.8572, allocations: 254.7 kB / 0.77 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8572, allocations: 7.375 kB / 0.77 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8573, allocations: 2.312 kB / 0.77 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.8573, allocations: 3.844 kB / 0.7701 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.8575, allocations: 45.47 kB / 0.7701 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8575, allocations: 2.844 kB / 0.7701 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.8577, allocations: 36.08 kB / 0.7701 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.8577, allocations: 18.97 kB / 0.7702 GB, free: 14.66 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.0001295/0.8579, allocations: 141.2 kB / 0.7703 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.8579, allocations: 37.5 kB / 0.7703 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.8584, allocations: 226.9 kB / 0.7705 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.8584, allocations: 2.531 kB / 0.7705 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.8584, allocations: 4 kB / 0.7705 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8584, allocations: 8.609 kB / 0.7706 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.8594, allocations: 0.7078 MB / 0.7712 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8594, allocations: 0 / 0.7712 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.8596, allocations: 37.23 kB / 0.7713 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8596, allocations: 2.281 kB / 0.7713 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.8596, allocations: 7.25 kB / 0.7713 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.8596, allocations: 9.344 kB / 0.7713 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8596, allocations: 0.7812 kB / 0.7713 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.8603, allocations: 447.5 kB / 0.7717 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.8604, allocations: 131.6 kB / 0.7718 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.8605, allocations: 5.594 kB / 0.7719 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.8607, allocations: 13.05 kB / 0.7719 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.8607, allocations: 16.56 kB / 0.7719 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.8607, allocations: 6.469 kB / 0.7719 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001906/0.8609, allocations: 236.4 kB / 0.7721 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.861, allocations: 1.031 kB / 0.7721 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004137/0.8614, allocations: 90.77 kB / 0.7722 GB, free: 13.71 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.0004244/0.8618, allocations: 170.4 kB / 0.7724 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.8623, allocations: 187.8 kB / 0.7725 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8623, allocations: 1.312 kB / 0.7725 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.8626, allocations: 91.08 kB / 0.7726 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009516/0.8635, allocations: 163.8 kB / 0.7728 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.8646, allocations: 0.6734 MB / 0.7734 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.8649, allocations: 0.7813 MB / 0.7742 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.865, allocations: 30.47 kB / 0.7742 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/0.865, allocations: 0.8125 kB / 0.7742 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of Templates: time 0.006842/0.8718, allocations: 4.956 MB / 0.7791 GB, free: 12.26 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)