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-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.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.00418/0.00418, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.001252/0.001252, allocations: 199.1 kB / 16.68 MB, free: 6.375 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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 1.023/1.023, allocations: 143.3 MB / 433.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 67.91 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3211, allocations: 82.02 MB / 0.6754 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.1884/0.5095, allocations: 166.1 MB / 0.8376 GB, free: 15.46 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00615/0.5157, allocations: 5.73 MB / 0.8432 GB, free: 9.711 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.5159, allocations: 7.938 kB / 0.8432 GB, free: 9.703 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/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-master/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.0003805/0.5163, allocations: 95.36 kB / 0.8433 GB, free: 9.609 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.5164, allocations: 59.55 kB / 0.8434 GB, free: 9.551 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.5166, allocations: 35.95 kB / 0.8434 GB, free: 9.516 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.5169, allocations: 215 kB / 0.8436 GB, free: 9.305 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.5171, allocations: 94.62 kB / 0.8437 GB, free: 9.211 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.5173, allocations: 103.6 kB / 0.8438 GB, free: 9.109 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.5174, allocations: 67.64 kB / 0.8439 GB, free: 9.043 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.5175, allocations: 12 kB / 0.8439 GB, free: 9.031 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.572e-05/0.5175, allocations: 8 kB / 0.8439 GB, free: 9.023 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.5176, allocations: 35.84 kB / 0.8439 GB, free: 8.988 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.5176, allocations: 63.69 kB / 0.844 GB, free: 8.926 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.5179, allocations: 168.6 kB / 0.8442 GB, free: 8.762 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5179, allocations: 4 kB / 0.8442 GB, free: 8.758 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5179, allocations: 4 kB / 0.8442 GB, free: 8.754 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.5179, allocations: 3.938 kB / 0.8442 GB, free: 8.75 MB / 0.67 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.0005855/0.5185, allocations: 442.8 kB / 0.8446 GB, free: 8.27 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5185, allocations: 8.031 kB / 0.8446 GB, free: 8.262 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.5186, allocations: 50.44 kB / 0.8446 GB, free: 8.203 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.5186, allocations: 23.89 kB / 0.8447 GB, free: 8.18 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.5189, allocations: 257.5 kB / 0.8449 GB, free: 7.891 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.519, allocations: 8.234 kB / 0.8449 GB, free: 7.883 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.519, allocations: 12 kB / 0.8449 GB, free: 7.871 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.5193, allocations: 170.8 kB / 0.8451 GB, free: 7.676 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5193, allocations: 7.938 kB / 0.8451 GB, free: 7.668 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5193, allocations: 4 kB / 0.8451 GB, free: 7.664 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5193, allocations: 4 kB / 0.8451 GB, free: 7.66 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.5194, allocations: 71.89 kB / 0.8452 GB, free: 7.59 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009398/0.5204, allocations: 1.152 MB / 0.8463 GB, free: 6.359 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.5205, allocations: 177.1 kB / 0.8465 GB, free: 6.176 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.5205, allocations: 88.08 kB / 0.8466 GB, free: 6.086 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.5206, allocations: 75.28 kB / 0.8466 GB, free: 6.012 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/0.5206, allocations: 105.8 kB / 0.8467 GB, free: 5.898 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.5206, allocations: 0 / 0.8467 GB, free: 5.898 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.255e-05/0.5207, allocations: 45.59 kB / 0.8468 GB, free: 5.848 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.5208, allocations: 186 kB / 0.847 GB, free: 5.641 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.5211, allocations: 253 kB / 0.8472 GB, free: 5.387 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.5212, allocations: 25.7 kB / 0.8472 GB, free: 5.355 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5213, allocations: 128 kB / 0.8473 GB, free: 5.227 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.5213, allocations: 0 / 0.8473 GB, free: 5.227 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.5213, allocations: 21.72 kB / 0.8474 GB, free: 5.199 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5215, allocations: 330.8 kB / 0.8477 GB, free: 4.867 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.5215, allocations: 8 kB / 0.8477 GB, free: 4.859 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.5216, allocations: 67.72 kB / 0.8478 GB, free: 4.766 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.5217, allocations: 52.23 kB / 0.8478 GB, free: 4.699 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5217, allocations: 0 / 0.8478 GB, free: 4.699 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001565/0.5218, allocations: 97.34 kB / 0.8479 GB, free: 4.598 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5218, allocations: 4 kB / 0.8479 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.5218, allocations: 0 / 0.8479 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5219, allocations: 4 kB / 0.8479 GB, free: 4.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.5219, allocations: 8.156 kB / 0.8479 GB, free: 4.582 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5219, allocations: 7.938 kB / 0.8479 GB, free: 4.574 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.056e-05/0.522, allocations: 19.81 kB / 0.8479 GB, free: 4.555 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.522, allocations: 7.938 kB / 0.8479 GB, free: 4.547 MB / 0.67 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.0001312/0.5222, allocations: 201.1 kB / 0.8481 GB, free: 4.34 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-05/0.5223, allocations: 128.8 kB / 0.8483 GB, free: 4.207 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.5223, allocations: 117.7 kB / 0.8484 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.369e-05/0.5224, allocations: 192.2 kB / 0.8486 GB, free: 3.891 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-05/0.5225, allocations: 180.3 kB / 0.8487 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.039e-05/0.5226, allocations: 180.2 kB / 0.8489 GB, free: 3.523 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.5229, allocations: 453.1 kB / 0.8493 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-05/0.523, allocations: 104.9 kB / 0.8494 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/0.523, allocations: 105 kB / 0.8495 GB, free: 2.805 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/0.5231, allocations: 180.3 kB / 0.8497 GB, free: 2.621 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/0.5232, allocations: 184.4 kB / 0.8499 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.758e-05/0.5233, allocations: 180.3 kB / 0.85 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-05/0.5234, allocations: 188.2 kB / 0.8502 GB, free: 2.059 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.5236, allocations: 323.6 kB / 0.8505 GB, free: 1.719 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.5237, allocations: 194 kB / 0.8507 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.5238, allocations: 180.3 kB / 0.8509 GB, free: 1.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.5239, allocations: 113 kB / 0.851 GB, free: 1.203 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.524, allocations: 176.3 kB / 0.8512 GB, free: 1.023 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.5241, allocations: 112.9 kB / 0.8513 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001815/0.5242, allocations: 184.5 kB / 0.8515 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5242, allocations: 0 / 0.8515 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002601/0.5245, allocations: 20 kB / 0.8515 GB, free: 0.707 MB / 0.67 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.0004687/0.525, allocations: 0.8281 MB / 0.8523 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.206e-05/0.5251, allocations: 27.92 kB / 0.8523 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5251, allocations: 0 / 0.8523 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.5251, allocations: 0 / 0.8523 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.5257, allocations: 0.5043 MB / 0.8528 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.5278, allocations: 2.035 MB / 0.8548 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.5282, allocations: 0.7202 MB / 0.8555 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 7.513e-05/0.5283, allocations: 17.55 kB / 0.8555 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.5283, allocations: 43.42 kB / 0.8555 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of SimCode: time 2.71e-07/0.5283, allocations: 0 / 0.8555 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.5526, allocations: 3.888 MB / 0.8593 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.434, allocations: 3.094 kB / 0.8593 GB, free: 8.598 MB / 0.6856 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)