Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",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.005229/0.005229, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.001345/0.001345, allocations: 197 kB / 16.68 MB, free: 5.973 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.8898/0.8898, allocations: 143.3 MB / 433.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 68.45 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1461, allocations: 82.03 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5086/0.6548, allocations: 167.4 MB / 0.8389 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00276/0.6576, allocations: 1.551 MB / 0.8404 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.6579, allocations: 12.19 kB / 0.8404 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.6584, allocations: 152.3 kB / 0.8406 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.6602, allocations: 0.6996 MB / 0.8413 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.6616, allocations: 0.6022 MB / 0.8419 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.000751/0.6624, allocations: 0.7003 MB / 0.8425 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.6628, allocations: 224.6 kB / 0.8428 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.6633, allocations: 345.1 kB / 0.8431 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.6636, allocations: 218.4 kB / 0.8433 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.6636, allocations: 26.88 kB / 0.8433 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.665, allocations: 0.8677 MB / 0.8442 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.6652, allocations: 113.2 kB / 0.8443 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.6653, allocations: 154 kB / 0.8444 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.6663, allocations: 0.7495 MB / 0.8451 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6664, allocations: 0 / 0.8451 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6664, allocations: 0 / 0.8451 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.6664, allocations: 0 / 0.8451 GB, free: 13.98 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009641/0.6673, allocations: 0.6651 MB / 0.8458 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.6674, allocations: 9.688 kB / 0.8458 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.6675, allocations: 58.48 kB / 0.8459 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.6685, allocations: 155.5 kB / 0.846 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.669, allocations: 328.9 kB / 0.8463 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.6691, allocations: 17.53 kB / 0.8463 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.6691, allocations: 22.84 kB / 0.8464 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.6696, allocations: 278.1 kB / 0.8466 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.6696, allocations: 4 kB / 0.8466 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.6696, allocations: 7.031 kB / 0.8466 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.6697, allocations: 4.812 kB / 0.8466 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.6701, allocations: 197.6 kB / 0.8468 GB, free: 12.64 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.001455/0.6715, allocations: 1.213 MB / 0.848 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.6718, allocations: 143.1 kB / 0.8482 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.672, allocations: 90.05 kB / 0.8482 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.6726, allocations: 302.3 kB / 0.8485 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.6726, allocations: 38.5 kB / 0.8486 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.6726, allocations: 7.938 kB / 0.8486 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007365/0.6734, allocations: 278.9 kB / 0.8488 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.6734, allocations: 51.41 kB / 0.8489 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.6738, allocations: 318.2 kB / 0.8492 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.6738, allocations: 29.7 kB / 0.8492 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.6739, allocations: 186.5 kB / 0.8494 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.674, allocations: 56.25 kB / 0.8494 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.6741, allocations: 43.61 kB / 0.8495 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6743, allocations: 337.7 kB / 0.8498 GB, free: 10 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.6744, allocations: 63.2 kB / 0.8499 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.6747, allocations: 125.8 kB / 0.85 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.675, allocations: 195.2 kB / 0.8502 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.675, allocations: 1.812 kB / 0.8502 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004496/0.6755, allocations: 240.4 kB / 0.8504 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.6755, allocations: 7.344 kB / 0.8504 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6755, allocations: 3.938 kB / 0.8504 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6755, allocations: 4.25 kB / 0.8504 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.6757, allocations: 36.52 kB / 0.8505 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.6758, allocations: 10.61 kB / 0.8505 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.6759, allocations: 33.94 kB / 0.8505 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.676, allocations: 11.64 kB / 0.8505 GB, free: 9.574 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 (22): * Single equations (assignments): 22 * 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.0001488/0.6761, allocations: 150 kB / 0.8507 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.6762, allocations: 30.91 kB / 0.8507 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.6767, allocations: 224.1 kB / 0.8509 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.6767, allocations: 2.688 kB / 0.8509 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6767, allocations: 0 / 0.8509 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.6767, allocations: 4.141 kB / 0.8509 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.6777, allocations: 0.6813 MB / 0.8516 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6777, allocations: 3.688 kB / 0.8516 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.6779, allocations: 42.7 kB / 0.8516 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.6779, allocations: 6.281 kB / 0.8516 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.6779, allocations: 4.406 kB / 0.8516 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.6779, allocations: 2.906 kB / 0.8516 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6779, allocations: 2.781 kB / 0.8516 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.6786, allocations: 431.6 kB / 0.852 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.6788, allocations: 125 kB / 0.8522 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.6788, allocations: 14.55 kB / 0.8522 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.679, allocations: 4.656 kB / 0.8522 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.679, allocations: 19.48 kB / 0.8522 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.679, allocations: 5.344 kB / 0.8522 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00022/0.6793, allocations: 228.9 kB / 0.8524 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6793, allocations: 4.062 kB / 0.8524 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003794/0.6797, allocations: 75.88 kB / 0.8525 GB, free: 7.965 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 (15): * Single equations (assignments): 15 * 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.001277/0.6809, allocations: 1.045 MB / 0.8535 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.6814, allocations: 171.7 kB / 0.8537 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6814, allocations: 0 / 0.8537 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.6816, allocations: 92.38 kB / 0.8538 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.6825, allocations: 160 kB / 0.8539 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.6863, allocations: 2.901 MB / 0.8568 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.6868, allocations: 0.7834 MB / 0.8575 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.687, allocations: 71.14 kB / 0.8576 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.6872, allocations: 87.34 kB / 0.8577 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.6872, allocations: 8 kB / 0.8577 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.7203, allocations: 8.86 MB / 0.8663 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.954, allocations: 6.484 kB / 0.8663 GB, free: 9.785 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate_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_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)