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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.005254/0.005254, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001453/0.001453, allocations: 195 kB / 16.68 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9292/0.9292, allocations: 143.3 MB / 433.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003028/0.003028, allocations: 68.11 kB / 0.5953 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1666, allocations: 82.04 MB / 0.6754 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5008/0.6675, allocations: 167.4 MB / 0.839 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.6702, allocations: 1.57 MB / 0.8405 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.6705, allocations: 10.78 kB / 0.8405 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.6709, allocations: 150.4 kB / 0.8406 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.6725, allocations: 0.7027 MB / 0.8413 GB, free: 352 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.674, allocations: 0.601 MB / 0.8419 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008781/0.6749, allocations: 0.716 MB / 0.8426 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000408/0.6753, allocations: 233.3 kB / 0.8428 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006724/0.676, allocations: 353.8 kB / 0.8432 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.6764, allocations: 225 kB / 0.8434 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.6764, allocations: 23 kB / 0.8434 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.678, allocations: 0.864 MB / 0.8443 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.6782, allocations: 117 kB / 0.8444 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.6784, allocations: 172.7 kB / 0.8445 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.6794, allocations: 0.756 MB / 0.8453 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6794, allocations: 0 / 0.8453 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6794, allocations: 0 / 0.8453 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.6794, allocations: 0 / 0.8453 GB, free: 13.88 MB / 0.6231 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.001012/0.6805, allocations: 0.681 MB / 0.8459 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6805, allocations: 9.625 kB / 0.8459 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.605e-05/0.6806, allocations: 66.2 kB / 0.846 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.6817, allocations: 156.1 kB / 0.8462 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.6822, allocations: 326.9 kB / 0.8465 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.6822, allocations: 15.94 kB / 0.8465 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.6823, allocations: 34 kB / 0.8465 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.6828, allocations: 283.2 kB / 0.8468 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6828, allocations: 0 / 0.8468 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.6828, allocations: 14.42 kB / 0.8468 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.6828, allocations: 8.906 kB / 0.8468 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.6832, allocations: 199.7 kB / 0.847 GB, free: 12.52 MB / 0.6231 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.00143/0.6847, allocations: 1.227 MB / 0.8482 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.685, allocations: 146.5 kB / 0.8483 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.6851, allocations: 103.5 kB / 0.8484 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/0.6857, allocations: 297.4 kB / 0.8487 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.6858, allocations: 41.44 kB / 0.8488 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.6858, allocations: 0 / 0.8488 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0007598/0.6865, allocations: 296.6 kB / 0.849 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.6866, allocations: 51.41 kB / 0.8491 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.6869, allocations: 325.1 kB / 0.8494 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.687, allocations: 36.64 kB / 0.8494 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.6871, allocations: 179.2 kB / 0.8496 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.6872, allocations: 71.42 kB / 0.8497 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.6873, allocations: 42.86 kB / 0.8497 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6874, allocations: 342.6 kB / 0.85 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.6876, allocations: 69.55 kB / 0.8501 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.6878, allocations: 124.8 kB / 0.8502 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.6882, allocations: 197.7 kB / 0.8504 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6882, allocations: 7.156 kB / 0.8504 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004729/0.6887, allocations: 262.7 kB / 0.8507 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6887, allocations: 4.875 kB / 0.8507 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6888, allocations: 2.344 kB / 0.8507 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.6888, allocations: 2.906 kB / 0.8507 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.689, allocations: 47.19 kB / 0.8507 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.689, allocations: 0 / 0.8507 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.6892, allocations: 35.89 kB / 0.8508 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.6892, allocations: 12 kB / 0.8508 GB, free: 9.406 MB / 0.6231 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.0001515/0.6894, allocations: 155.6 kB / 0.8509 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.6895, allocations: 32.78 kB / 0.8509 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.6899, allocations: 229.8 kB / 0.8512 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.6899, allocations: 2.5 kB / 0.8512 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.69, allocations: 0 / 0.8512 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.69, allocations: 1.906 kB / 0.8512 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.691, allocations: 0.7138 MB / 0.8519 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.691, allocations: 6.344 kB / 0.8519 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.6912, allocations: 33.27 kB / 0.8519 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.6912, allocations: 4.531 kB / 0.8519 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.6913, allocations: 10.86 kB / 0.8519 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6913, allocations: 7.312 kB / 0.8519 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6913, allocations: 2.406 kB / 0.8519 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00066/0.6919, allocations: 450 kB / 0.8524 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.6921, allocations: 124.9 kB / 0.8525 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.6921, allocations: 11.98 kB / 0.8525 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.6923, allocations: 7.938 kB / 0.8525 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.6924, allocations: 23.86 kB / 0.8525 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.6924, allocations: 9.062 kB / 0.8525 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002264/0.6926, allocations: 227 kB / 0.8527 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6926, allocations: 0 / 0.8527 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003863/0.693, allocations: 91.88 kB / 0.8528 GB, free: 7.633 MB / 0.6231 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.001292/0.6943, allocations: 1.038 MB / 0.8538 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004965/0.6948, allocations: 192 kB / 0.854 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6949, allocations: 3.938 kB / 0.854 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.6951, allocations: 91.88 kB / 0.8541 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008713/0.6959, allocations: 161.3 kB / 0.8543 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.6997, allocations: 3.016 MB / 0.8572 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.7002, allocations: 0.7795 MB / 0.858 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.7004, allocations: 66.92 kB / 0.858 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.7005, allocations: 95.41 kB / 0.8581 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.7005, allocations: 0 / 0.8581 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.7344, allocations: 9.05 MB / 0.867 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.944, allocations: 5.875 kB / 0.867 GB, free: 9.137 MB / 0.6387 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)