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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.001194/0.001194, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.019/1.019, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 0.5143 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1665, allocations: 82.04 MB / 0.5944 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4337/0.6003, allocations: 167.4 MB / 0.7579 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.6028, allocations: 1.56 MB / 0.7594 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.6031, allocations: 11.94 kB / 0.7594 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.6035, allocations: 150.8 kB / 0.7596 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.605, allocations: 0.7013 MB / 0.7603 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.6062, allocations: 0.599 MB / 0.7609 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006712/0.6069, allocations: 0.7176 MB / 0.7616 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.6072, allocations: 233.6 kB / 0.7618 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.6078, allocations: 350.6 kB / 0.7621 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.608, allocations: 231 kB / 0.7623 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.6081, allocations: 24 kB / 0.7624 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.6094, allocations: 0.8612 MB / 0.7632 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.6095, allocations: 111.6 kB / 0.7633 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.6097, allocations: 175.1 kB / 0.7635 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009245/0.6106, allocations: 0.7402 MB / 0.7642 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6106, allocations: 0 / 0.7642 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6106, allocations: 0 / 0.7642 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.6106, allocations: 4 kB / 0.7642 GB, free: 15.28 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.0008752/0.6115, allocations: 0.6699 MB / 0.7648 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.6116, allocations: 9.438 kB / 0.7649 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.6116, allocations: 54.55 kB / 0.7649 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.6128, allocations: 155.4 kB / 0.7651 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.6131, allocations: 306.7 kB / 0.7653 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.6132, allocations: 16.56 kB / 0.7654 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.6132, allocations: 27.94 kB / 0.7654 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.6137, allocations: 285.8 kB / 0.7657 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.6137, allocations: 3.984 kB / 0.7657 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.6137, allocations: 12 kB / 0.7657 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6137, allocations: 8 kB / 0.7657 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004137/0.6142, allocations: 200.9 kB / 0.7659 GB, free: 13.45 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.001287/0.6155, allocations: 1.235 MB / 0.7671 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.6157, allocations: 150.4 kB / 0.7672 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.6159, allocations: 89.44 kB / 0.7673 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006089/0.6166, allocations: 307.2 kB / 0.7676 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.6166, allocations: 36.56 kB / 0.7676 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 6.021e-06/0.6166, allocations: 7.922 kB / 0.7676 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007519/0.6174, allocations: 286.9 kB / 0.7679 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.6174, allocations: 67.31 kB / 0.768 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.6177, allocations: 316.5 kB / 0.7683 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.6177, allocations: 29.7 kB / 0.7683 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.6179, allocations: 188.1 kB / 0.7685 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.6179, allocations: 63.09 kB / 0.7686 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.618, allocations: 49.7 kB / 0.7686 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6181, allocations: 334.8 kB / 0.7689 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.6183, allocations: 72.45 kB / 0.769 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.6185, allocations: 132.5 kB / 0.7691 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.6189, allocations: 190 kB / 0.7693 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6189, allocations: 4.688 kB / 0.7693 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004652/0.6193, allocations: 254.7 kB / 0.7695 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.6194, allocations: 8 kB / 0.7696 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.6194, allocations: 96 / 0.7696 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6194, allocations: 8 kB / 0.7696 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.6196, allocations: 43.91 kB / 0.7696 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6196, allocations: 4 kB / 0.7696 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.6198, allocations: 36.3 kB / 0.7696 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.6199, allocations: 9.562 kB / 0.7697 GB, free: 9.324 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.0001247/0.62, allocations: 157.6 kB / 0.7698 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.6201, allocations: 35.61 kB / 0.7698 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.6205, allocations: 232.2 kB / 0.7701 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.6206, allocations: 4 kB / 0.7701 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.6206, allocations: 0 / 0.7701 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6206, allocations: 0 / 0.7701 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009988/0.6216, allocations: 0.7029 MB / 0.7707 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6216, allocations: 0 / 0.7707 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.6218, allocations: 39.91 kB / 0.7708 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.6218, allocations: 4 kB / 0.7708 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.6218, allocations: 12.22 kB / 0.7708 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.6218, allocations: 4.625 kB / 0.7708 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.6218, allocations: 4 kB / 0.7708 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.6225, allocations: 450.4 kB / 0.7712 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6226, allocations: 124.7 kB / 0.7714 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.6227, allocations: 8 kB / 0.7714 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.6228, allocations: 15.92 kB / 0.7714 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.6229, allocations: 20.55 kB / 0.7714 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.6229, allocations: 4 kB / 0.7714 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002209/0.6231, allocations: 235 kB / 0.7716 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6231, allocations: 0 / 0.7716 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003798/0.6235, allocations: 83.84 kB / 0.7717 GB, free: 7.074 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.001137/0.6247, allocations: 1.054 MB / 0.7727 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.6251, allocations: 189.2 kB / 0.7729 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6251, allocations: 4 kB / 0.7729 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.6253, allocations: 83.83 kB / 0.773 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.6262, allocations: 166 kB / 0.7732 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.6297, allocations: 3.028 MB / 0.7761 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.6301, allocations: 0.7834 MB / 0.7769 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.6303, allocations: 69.05 kB / 0.7769 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.6305, allocations: 91.41 kB / 0.777 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.6305, allocations: 0 / 0.777 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.6598, allocations: 8.956 MB / 0.7858 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/8.175, allocations: 0.5938 kB / 0.7858 GB, free: 8.68 MB / 0.6075 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)