Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_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.001245/0.001245, 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.001215/0.001215, allocations: 195.3 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 279.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9344/0.9344, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 95.06 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1278, allocations: 86.98 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.3924/0.5202, allocations: 166.1 MB / 0.8425 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004165/0.5244, allocations: 5.702 MB / 0.848 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.5246, allocations: 9.5 kB / 0.8481 GB, free: 15.08 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/Fluid/FMI/FlowSplitter_u.mo:47:3-49: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/BuildingSystems 2.0.0-master/Fluid/FMI/FlowSplitter_u.mo:50:3-51: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.0003385/0.5249, allocations: 100.5 kB / 0.8482 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.5251, allocations: 54.17 kB / 0.8482 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.5252, allocations: 33.22 kB / 0.8482 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.5255, allocations: 214.2 kB / 0.8484 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.5257, allocations: 90.69 kB / 0.8485 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.5259, allocations: 105.6 kB / 0.8486 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.526, allocations: 68.66 kB / 0.8487 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.526, allocations: 12.94 kB / 0.8487 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.619e-05/0.5261, allocations: 10.88 kB / 0.8487 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.5261, allocations: 33.7 kB / 0.8487 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.835e-05/0.5262, allocations: 68.95 kB / 0.8488 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.5264, allocations: 156.2 kB / 0.849 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5264, allocations: 0 / 0.849 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5264, allocations: 0 / 0.849 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5264, allocations: 5.156 kB / 0.849 GB, free: 14.5 MB / 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.0005014/0.5269, allocations: 447.2 kB / 0.8494 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.5269, allocations: 9.281 kB / 0.8494 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.527, allocations: 47.11 kB / 0.8494 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.527, allocations: 16.84 kB / 0.8495 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.5273, allocations: 240.6 kB / 0.8497 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.5273, allocations: 8.359 kB / 0.8497 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.5273, allocations: 12.75 kB / 0.8497 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.5275, allocations: 173.7 kB / 0.8499 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5276, allocations: 0 / 0.8499 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5276, allocations: 7.406 kB / 0.8499 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5276, allocations: 2.656 kB / 0.8499 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.5277, allocations: 74.89 kB / 0.85 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.5285, allocations: 1.153 MB / 0.8511 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.5286, allocations: 170.5 kB / 0.8512 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.5286, allocations: 80.14 kB / 0.8513 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.5286, allocations: 79.88 kB / 0.8514 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.5287, allocations: 111.1 kB / 0.8515 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.5287, allocations: 0 / 0.8515 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.333e-05/0.5288, allocations: 46.73 kB / 0.8515 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.5288, allocations: 178.1 kB / 0.8517 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.5291, allocations: 255.5 kB / 0.852 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.5291, allocations: 25.7 kB / 0.852 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.5292, allocations: 137 kB / 0.8521 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.5292, allocations: 1.312 kB / 0.8521 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.5292, allocations: 24.62 kB / 0.8521 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5294, allocations: 326.5 kB / 0.8525 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.5294, allocations: 11.77 kB / 0.8525 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.5294, allocations: 67.62 kB / 0.8525 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/0.5295, allocations: 51.02 kB / 0.8526 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5295, allocations: 1.5 kB / 0.8526 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001522/0.5297, allocations: 87.89 kB / 0.8527 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.5297, allocations: 8.438 kB / 0.8527 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.5297, allocations: 2.969 kB / 0.8527 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.5297, allocations: 3.938 kB / 0.8527 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.5298, allocations: 11.81 kB / 0.8527 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.5298, allocations: 2.406 kB / 0.8527 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.476e-05/0.5299, allocations: 13.44 kB / 0.8527 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.5299, allocations: 2.281 kB / 0.8527 GB, free: 10.8 MB / 0.5762 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.0001082/0.53, allocations: 204.7 kB / 0.8529 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.5301, allocations: 136.7 kB / 0.853 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.5301, allocations: 117 kB / 0.8531 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.785e-05/0.5302, allocations: 180.3 kB / 0.8533 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.655e-05/0.5302, allocations: 187.2 kB / 0.8535 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/0.5303, allocations: 180.4 kB / 0.8537 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.5306, allocations: 451.6 kB / 0.8541 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.073e-05/0.5306, allocations: 118.2 kB / 0.8542 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.5306, allocations: 101 kB / 0.8543 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.503e-05/0.5307, allocations: 180.2 kB / 0.8545 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.5307, allocations: 183.1 kB / 0.8547 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.364e-05/0.5308, allocations: 180.2 kB / 0.8548 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.265e-05/0.5309, allocations: 182.9 kB / 0.855 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.531, allocations: 321.6 kB / 0.8553 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.5311, allocations: 197.3 kB / 0.8555 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.828e-05/0.5312, allocations: 182 kB / 0.8557 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5313, allocations: 103.8 kB / 0.8558 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.5313, allocations: 184.3 kB / 0.8559 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.5314, allocations: 111.4 kB / 0.856 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001456/0.5315, allocations: 185.1 kB / 0.8562 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5315, allocations: 0 / 0.8562 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002415/0.5318, allocations: 20.81 kB / 0.8562 GB, free: 7.098 MB / 0.5762 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.0003313/0.5321, allocations: 0.8226 MB / 0.857 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.251e-05/0.5322, allocations: 25.12 kB / 0.8571 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5322, allocations: 0 / 0.8571 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.5322, allocations: 0 / 0.8571 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.5328, allocations: 0.5029 MB / 0.8576 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.5344, allocations: 2.038 MB / 0.8596 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.5347, allocations: 0.7168 MB / 0.8603 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.86e-05/0.5348, allocations: 20.25 kB / 0.8603 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.5348, allocations: 43.55 kB / 0.8603 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5348, allocations: 0 / 0.8603 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.5531, allocations: 3.832 MB / 0.8641 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/7.354, allocations: 11.78 kB / 0.8641 GB, free: 1.371 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)