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.004964/0.004964, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00121/0.00121, allocations: 192.6 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.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.8221/0.8221, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 63.94 kB / 0.595 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1406, allocations: 82.04 MB / 0.6752 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.473/0.6136, allocations: 166.1 MB / 0.8374 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005187/0.6189, allocations: 5.73 MB / 0.843 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.6191, allocations: 6.688 kB / 0.843 GB, free: 15 MB / 0.6231 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.0004535/0.6195, allocations: 97.88 kB / 0.8431 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.6197, allocations: 55.27 kB / 0.8431 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.6199, allocations: 33.16 kB / 0.8432 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.6201, allocations: 218 kB / 0.8434 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.6204, allocations: 100.8 kB / 0.8435 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.6206, allocations: 109.4 kB / 0.8436 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.6207, allocations: 64.08 kB / 0.8436 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.6207, allocations: 10.88 kB / 0.8437 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.6207, allocations: 9.594 kB / 0.8437 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.6208, allocations: 31.83 kB / 0.8437 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.6209, allocations: 66.08 kB / 0.8438 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.6211, allocations: 170.5 kB / 0.8439 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6211, allocations: 0 / 0.8439 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6211, allocations: 6.719 kB / 0.8439 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6211, allocations: 0 / 0.8439 GB, free: 14.37 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005676/0.6217, allocations: 451.3 kB / 0.8444 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6217, allocations: 10.19 kB / 0.8444 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.6218, allocations: 41.36 kB / 0.8444 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.6218, allocations: 22.03 kB / 0.8444 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.6221, allocations: 256 kB / 0.8447 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.6222, allocations: 10.23 kB / 0.8447 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.6222, allocations: 10.69 kB / 0.8447 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.6224, allocations: 174.8 kB / 0.8449 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6224, allocations: 2.812 kB / 0.8449 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.6224, allocations: 4 kB / 0.8449 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.6225, allocations: 5 kB / 0.8449 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.6226, allocations: 72.81 kB / 0.8449 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.6234, allocations: 1.15 MB / 0.8461 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.177e-05/0.6235, allocations: 171 kB / 0.8462 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.6235, allocations: 80.14 kB / 0.8463 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.6236, allocations: 79.22 kB / 0.8464 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.6236, allocations: 118.6 kB / 0.8465 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.6236, allocations: 0 / 0.8465 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 8.416e-05/0.6237, allocations: 41.14 kB / 0.8465 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.6238, allocations: 178.1 kB / 0.8467 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.624, allocations: 259.7 kB / 0.8469 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.6241, allocations: 29.64 kB / 0.847 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.6242, allocations: 130.5 kB / 0.8471 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.6242, allocations: 0 / 0.8471 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.6242, allocations: 21.59 kB / 0.8471 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6243, allocations: 324.9 kB / 0.8474 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.6243, allocations: 13.27 kB / 0.8474 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.6244, allocations: 71.72 kB / 0.8475 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.532e-05/0.6245, allocations: 46.42 kB / 0.8476 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6245, allocations: 0 / 0.8476 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001478/0.6246, allocations: 95.78 kB / 0.8476 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6247, allocations: 11.59 kB / 0.8477 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6247, allocations: 0 / 0.8477 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6247, allocations: 6.5 kB / 0.8477 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.6248, allocations: 7.625 kB / 0.8477 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6248, allocations: 160 / 0.8477 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.6248, allocations: 23.33 kB / 0.8477 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.6249, allocations: 0 / 0.8477 GB, free: 10.63 MB / 0.6231 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 0.0001164/0.625, allocations: 206.2 kB / 0.8479 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.6251, allocations: 124.7 kB / 0.848 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.6251, allocations: 121.3 kB / 0.8481 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/0.6252, allocations: 180.4 kB / 0.8483 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-05/0.6253, allocations: 198.1 kB / 0.8485 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.792e-05/0.6253, allocations: 179 kB / 0.8487 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.6256, allocations: 448.9 kB / 0.8491 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.714e-05/0.6257, allocations: 108.9 kB / 0.8492 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.6257, allocations: 103.7 kB / 0.8493 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.234e-05/0.6258, allocations: 184.2 kB / 0.8495 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.6258, allocations: 176.3 kB / 0.8496 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-05/0.6259, allocations: 182.6 kB / 0.8498 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.537e-05/0.626, allocations: 184.2 kB / 0.85 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.6261, allocations: 317.9 kB / 0.8503 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.6262, allocations: 206.8 kB / 0.8505 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.6263, allocations: 182.2 kB / 0.8507 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.6264, allocations: 103.9 kB / 0.8508 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.6265, allocations: 180.2 kB / 0.8509 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.6266, allocations: 105.9 kB / 0.851 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001594/0.6267, allocations: 183.4 kB / 0.8512 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6267, allocations: 4 kB / 0.8512 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002617/0.627, allocations: 24.44 kB / 0.8512 GB, free: 6.938 MB / 0.6231 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.0003925/0.6274, allocations: 0.8314 MB / 0.852 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.292e-05/0.6275, allocations: 21 kB / 0.8521 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6275, allocations: 0 / 0.8521 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.6275, allocations: 3.938 kB / 0.8521 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.6281, allocations: 0.5019 MB / 0.8526 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.6298, allocations: 2.041 MB / 0.8545 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.6301, allocations: 0.7171 MB / 0.8552 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.506e-05/0.6302, allocations: 22.23 kB / 0.8553 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.6303, allocations: 39.17 kB / 0.8553 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.6303, allocations: 3.938 kB / 0.8553 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.6504, allocations: 3.898 MB / 0.8591 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.704, allocations: 1.781 kB / 0.8591 GB, free: 1.152 MB / 0.6231 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)