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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006523/0.006523, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001034/0.001034, allocations: 189 kB / 16.67 MB, free: 5.969 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.9382/0.9382, allocations: 143 MB / 433.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 63.91 kB / 0.5951 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3806, allocations: 82.02 MB / 0.6752 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.1712/0.5519, allocations: 167.5 MB / 0.8387 GB, free: 14.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.5546, allocations: 1.555 MB / 0.8402 GB, free: 12.76 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.555, allocations: 15.94 kB / 0.8402 GB, free: 12.74 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.5555, allocations: 150.8 kB / 0.8404 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.5572, allocations: 0.739 MB / 0.8411 GB, free: 11.85 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.5587, allocations: 0.6107 MB / 0.8417 GB, free: 11.24 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0008236/0.5595, allocations: 0.7176 MB / 0.8424 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.5599, allocations: 241 kB / 0.8426 GB, free: 10.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006819/0.5606, allocations: 350.7 kB / 0.843 GB, free: 9.945 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.5609, allocations: 231 kB / 0.8432 GB, free: 9.719 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.561, allocations: 20 kB / 0.8432 GB, free: 9.699 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.5624, allocations: 0.8767 MB / 0.8441 GB, free: 8.82 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.5625, allocations: 107.7 kB / 0.8442 GB, free: 8.715 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.5628, allocations: 171.1 kB / 0.8443 GB, free: 8.547 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.5641, allocations: 0.7563 MB / 0.8451 GB, free: 7.793 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5641, allocations: 0 / 0.8451 GB, free: 7.793 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5641, allocations: 0 / 0.8451 GB, free: 7.793 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.5642, allocations: 0 / 0.8451 GB, free: 7.793 MB / 0.67 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.00108/0.5652, allocations: 0.6772 MB / 0.8457 GB, free: 7.066 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5653, allocations: 8.031 kB / 0.8457 GB, free: 7.059 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.5654, allocations: 62.53 kB / 0.8458 GB, free: 6.988 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.5665, allocations: 163.6 kB / 0.8459 GB, free: 6.828 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.567, allocations: 322.9 kB / 0.8463 GB, free: 6.473 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.567, allocations: 28.38 kB / 0.8463 GB, free: 6.445 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.5671, allocations: 24 kB / 0.8463 GB, free: 6.422 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.5676, allocations: 285.8 kB / 0.8466 GB, free: 6.125 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5676, allocations: 0 / 0.8466 GB, free: 6.125 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.5676, allocations: 12 kB / 0.8466 GB, free: 6.113 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5677, allocations: 4 kB / 0.8466 GB, free: 6.109 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.5681, allocations: 200.9 kB / 0.8468 GB, free: 5.914 MB / 0.67 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.001433/0.5695, allocations: 1.227 MB / 0.848 GB, free: 4.582 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.5698, allocations: 154.4 kB / 0.8481 GB, free: 4.422 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.57, allocations: 104.8 kB / 0.8482 GB, free: 4.316 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.5705, allocations: 299.2 kB / 0.8485 GB, free: 3.969 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.5706, allocations: 38.56 kB / 0.8486 GB, free: 3.922 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.5706, allocations: 0 / 0.8486 GB, free: 3.922 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.0007404/0.5713, allocations: 291.5 kB / 0.8488 GB, free: 3.633 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.5714, allocations: 55.34 kB / 0.8489 GB, free: 3.566 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.5717, allocations: 332.5 kB / 0.8492 GB, free: 3.234 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.5717, allocations: 29.7 kB / 0.8492 GB, free: 3.199 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.5719, allocations: 184.3 kB / 0.8494 GB, free: 3.016 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.5719, allocations: 59.44 kB / 0.8495 GB, free: 2.957 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.572, allocations: 45.7 kB / 0.8495 GB, free: 2.906 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5721, allocations: 342.8 kB / 0.8498 GB, free: 2.562 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.5723, allocations: 67.95 kB / 0.8499 GB, free: 2.496 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.5725, allocations: 131.1 kB / 0.85 GB, free: 2.352 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.5729, allocations: 199.2 kB / 0.8502 GB, free: 2.141 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5729, allocations: 0 / 0.8502 GB, free: 2.141 MB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004579/0.5733, allocations: 261.1 kB / 0.8505 GB, free: 1.879 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.5734, allocations: 4 kB / 0.8505 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5734, allocations: 0 / 0.8505 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5734, allocations: 4.141 kB / 0.8505 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.5736, allocations: 40.08 kB / 0.8505 GB, free: 1.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5736, allocations: 4 kB / 0.8505 GB, free: 1.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.5738, allocations: 39.7 kB / 0.8506 GB, free: 1.789 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.5738, allocations: 11.98 kB / 0.8506 GB, free: 1.777 MB / 0.67 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.0001318/0.574, allocations: 153.8 kB / 0.8507 GB, free: 1.617 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.574, allocations: 31.81 kB / 0.8507 GB, free: 1.586 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.5745, allocations: 242 kB / 0.851 GB, free: 1.344 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5745, allocations: 0 / 0.851 GB, free: 1.344 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5745, allocations: 0 / 0.851 GB, free: 1.344 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5745, allocations: 4 kB / 0.851 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.5755, allocations: 0.7146 MB / 0.8517 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5756, allocations: 4 kB / 0.8517 GB, free: 0.543 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.5757, allocations: 31.98 kB / 0.8517 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5757, allocations: 4 kB / 0.8517 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.5758, allocations: 11.94 kB / 0.8517 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5758, allocations: 7.938 kB / 0.8517 GB, free: 500 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5758, allocations: 0 / 0.8517 GB, free: 500 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.5764, allocations: 453.3 kB / 0.8522 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.5766, allocations: 128.9 kB / 0.8523 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.5766, allocations: 11.94 kB / 0.8523 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.5768, allocations: 7.984 kB / 0.8523 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.5768, allocations: 15.98 kB / 0.8523 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.5769, allocations: 8 kB / 0.8523 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002015/0.5771, allocations: 231.1 kB / 0.8525 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5771, allocations: 0 / 0.8525 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003796/0.5775, allocations: 83.89 kB / 0.8526 GB, free: 15.52 MB / 0.6856 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.001123/0.5786, allocations: 1.053 MB / 0.8537 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.579, allocations: 179.8 kB / 0.8538 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.579, allocations: 0 / 0.8538 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.5792, allocations: 100.2 kB / 0.8539 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.5801, allocations: 161.5 kB / 0.8541 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.5834, allocations: 3.023 MB / 0.857 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.5837, allocations: 0.7794 MB / 0.8578 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000194/0.5839, allocations: 62.94 kB / 0.8578 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.584, allocations: 95.41 kB / 0.8579 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of SimCode: time 3.51e-07/0.5841, allocations: 0 / 0.8579 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.6101, allocations: 9.053 MB / 0.8668 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.397, allocations: 4.578 kB / 0.8668 GB, free: 1.004 MB / 0.6856 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)