Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.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.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",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.0009796/0.0009796, allocations: 108 kB / 15.61 MB, free: 152 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.0009582/0.0009582, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.8536/0.8536, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 75.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1249, allocations: 82.03 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.3487/0.4736, allocations: 166.1 MB / 0.7566 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004989/0.4787, allocations: 5.714 MB / 0.7622 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.4788, allocations: 8 kB / 0.7622 GB, free: 1.387 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:47:3-50:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:51:3-52:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000337/0.4792, allocations: 96.61 kB / 0.7623 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.4794, allocations: 59.61 kB / 0.7624 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.4795, allocations: 39.89 kB / 0.7624 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.4798, allocations: 207.2 kB / 0.7626 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.48, allocations: 96.25 kB / 0.7627 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.4802, allocations: 99.62 kB / 0.7628 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.4803, allocations: 71.66 kB / 0.7629 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.4803, allocations: 11.98 kB / 0.7629 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.954e-05/0.4804, allocations: 12 kB / 0.7629 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.4804, allocations: 31.84 kB / 0.7629 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.4805, allocations: 67.62 kB / 0.763 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.4807, allocations: 163.4 kB / 0.7631 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.4807, allocations: 0 / 0.7631 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4807, allocations: 3.984 kB / 0.7631 GB, free: 460 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.4807, allocations: 2.062 kB / 0.7631 GB, free: 460 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0004555/0.4812, allocations: 443.5 kB / 0.7636 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.4812, allocations: 8.031 kB / 0.7636 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.4812, allocations: 42.55 kB / 0.7636 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.4813, allocations: 19.81 kB / 0.7636 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.4815, allocations: 247.5 kB / 0.7639 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4815, allocations: 12.23 kB / 0.7639 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.4816, allocations: 12 kB / 0.7639 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.4818, allocations: 169.8 kB / 0.764 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4818, allocations: 0 / 0.764 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.4818, allocations: 8 kB / 0.7641 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4818, allocations: 4 kB / 0.7641 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.4819, allocations: 67.83 kB / 0.7641 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.4826, allocations: 1.152 MB / 0.7652 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.698e-05/0.4827, allocations: 169.1 kB / 0.7654 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.4827, allocations: 80.14 kB / 0.7655 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.4828, allocations: 79.22 kB / 0.7656 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.4828, allocations: 105.8 kB / 0.7657 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4828, allocations: 4 kB / 0.7657 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.2e-05/0.4829, allocations: 53.45 kB / 0.7657 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.483, allocations: 182.1 kB / 0.7659 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.4832, allocations: 245 kB / 0.7661 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.4832, allocations: 29.64 kB / 0.7661 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.4833, allocations: 135.9 kB / 0.7663 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.4833, allocations: 0 / 0.7663 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.4833, allocations: 21.72 kB / 0.7663 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.4834, allocations: 330.8 kB / 0.7666 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.4834, allocations: 7.984 kB / 0.7666 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.4835, allocations: 67.72 kB / 0.7667 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.2e-05/0.4835, allocations: 52.11 kB / 0.7667 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4836, allocations: 4.5 kB / 0.7667 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001295/0.4837, allocations: 85.36 kB / 0.7668 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4837, allocations: 8 kB / 0.7668 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4837, allocations: 0 / 0.7668 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.4837, allocations: 4.156 kB / 0.7668 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.765e-05/0.4838, allocations: 12.44 kB / 0.7668 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4838, allocations: 4 kB / 0.7669 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.4839, allocations: 19.75 kB / 0.7669 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4839, allocations: 7.984 kB / 0.7669 GB, free: 12.28 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 9.436e-05/0.484, allocations: 197.1 kB / 0.7671 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.4841, allocations: 130.6 kB / 0.7672 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.4841, allocations: 125.8 kB / 0.7673 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/0.4842, allocations: 180.2 kB / 0.7675 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.014e-05/0.4842, allocations: 180.2 kB / 0.7677 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.843e-05/0.4843, allocations: 184.4 kB / 0.7678 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.4845, allocations: 457.2 kB / 0.7683 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/0.4845, allocations: 108.9 kB / 0.7684 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.4846, allocations: 105 kB / 0.7685 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.273e-05/0.4846, allocations: 180.2 kB / 0.7686 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.4847, allocations: 180.3 kB / 0.7688 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.521e-05/0.4847, allocations: 176.3 kB / 0.769 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.77e-05/0.4848, allocations: 184.2 kB / 0.7692 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.4849, allocations: 323.6 kB / 0.7695 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.485, allocations: 201.8 kB / 0.7697 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.485, allocations: 176.3 kB / 0.7698 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/0.4851, allocations: 109.5 kB / 0.7699 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4852, allocations: 176.3 kB / 0.7701 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.4852, allocations: 112.9 kB / 0.7702 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001457/0.4854, allocations: 184.5 kB / 0.7704 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4854, allocations: 0 / 0.7704 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002306/0.4856, allocations: 20 kB / 0.7704 GB, free: 8.449 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0003123/0.4859, allocations: 0.8319 MB / 0.7712 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.279e-05/0.486, allocations: 23.92 kB / 0.7712 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.486, allocations: 0 / 0.7712 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.486, allocations: 0 / 0.7712 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.4866, allocations: 0.5105 MB / 0.7717 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4882, allocations: 2.04 MB / 0.7737 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.4884, allocations: 0.7202 MB / 0.7744 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.962e-05/0.4885, allocations: 25.47 kB / 0.7745 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.4885, allocations: 43.42 kB / 0.7745 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.4885, allocations: 0 / 0.7745 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.5059, allocations: 3.834 MB / 0.7782 GB, free: 416 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.426/6.932, allocations: 4.594 kB / 0.7782 GB, free: 412 kB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)