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.00138/0.00138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001387/0.001387, allocations: 189.2 kB / 16.25 MB, free: 6.578 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.134/1.134, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.8231/0.8231, allocations: 143 MB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.89 kB / 0.5138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1244, allocations: 82.04 MB / 0.5939 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.3164/0.4408, allocations: 163.9 MB / 0.7539 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.445, allocations: 5.654 MB / 0.7595 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.4451, allocations: 7.938 kB / 0.7595 GB, free: 4.043 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.0002913/0.4455, allocations: 87.5 kB / 0.7596 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.4456, allocations: 47.67 kB / 0.7596 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.934e-05/0.4457, allocations: 31.97 kB / 0.7596 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.4459, allocations: 220.4 kB / 0.7598 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.4461, allocations: 88.25 kB / 0.7599 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.4463, allocations: 103.6 kB / 0.76 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.611e-05/0.4464, allocations: 75.58 kB / 0.7601 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.4464, allocations: 12 kB / 0.7601 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.4464, allocations: 8 kB / 0.7601 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.4465, allocations: 31.91 kB / 0.7601 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.4466, allocations: 67.62 kB / 0.7602 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.4467, allocations: 167.4 kB / 0.7604 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4467, allocations: 0 / 0.7604 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4467, allocations: 0 / 0.7604 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4467, allocations: 0 / 0.7604 GB, free: 3.125 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.0004395/0.4472, allocations: 438.9 kB / 0.7608 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.4472, allocations: 12.02 kB / 0.7608 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.4472, allocations: 43.31 kB / 0.7608 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.4473, allocations: 15.81 kB / 0.7609 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.4475, allocations: 255.5 kB / 0.7611 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4475, allocations: 12.23 kB / 0.7611 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.4475, allocations: 8 kB / 0.7611 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.4477, allocations: 173.1 kB / 0.7613 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4477, allocations: 0 / 0.7613 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4478, allocations: 12 kB / 0.7613 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4478, allocations: 1.312 kB / 0.7613 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.4479, allocations: 75.83 kB / 0.7614 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.4485, allocations: 1.144 MB / 0.7625 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.363e-05/0.4486, allocations: 177.1 kB / 0.7627 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.4486, allocations: 80.14 kB / 0.7627 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4486, allocations: 83.22 kB / 0.7628 GB, free: 424 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.4487, allocations: 105.8 kB / 0.7629 GB, free: 308 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4487, allocations: 0 / 0.7629 GB, free: 308 kB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.247e-05/0.4487, allocations: 49.5 kB / 0.763 GB, free: 252 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.4488, allocations: 178.1 kB / 0.7631 GB, free: 48 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.449, allocations: 245.2 kB / 0.7634 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.449, allocations: 25.7 kB / 0.7634 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.4491, allocations: 143.9 kB / 0.7635 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/0.4491, allocations: 3.938 kB / 0.7635 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.4491, allocations: 18.66 kB / 0.7635 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.748e-05/0.4492, allocations: 322.8 kB / 0.7639 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.4492, allocations: 15.98 kB / 0.7639 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.4493, allocations: 63.72 kB / 0.7639 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.738e-05/0.4493, allocations: 48.23 kB / 0.764 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4494, allocations: 0.6875 kB / 0.764 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000118/0.4495, allocations: 97.3 kB / 0.7641 GB, free: 15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.4495, allocations: 4 kB / 0.7641 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4495, allocations: 4 kB / 0.7641 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.4495, allocations: 3.938 kB / 0.7641 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.838e-05/0.4496, allocations: 8 kB / 0.7641 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4496, allocations: 0 / 0.7641 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.4496, allocations: 24.67 kB / 0.7641 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.4497, allocations: 0 / 0.7641 GB, free: 14.96 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 8.853e-05/0.4498, allocations: 213.2 kB / 0.7643 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.4498, allocations: 124.7 kB / 0.7644 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.4499, allocations: 121.8 kB / 0.7645 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.711e-05/0.4499, allocations: 184.2 kB / 0.7647 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-05/0.45, allocations: 176.3 kB / 0.7649 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.301e-05/0.45, allocations: 188.2 kB / 0.7651 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.4502, allocations: 449.2 kB / 0.7655 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/0.4502, allocations: 111.5 kB / 0.7656 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.4503, allocations: 104.9 kB / 0.7657 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.836e-05/0.4503, allocations: 180.4 kB / 0.7659 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.4504, allocations: 184.2 kB / 0.7661 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.986e-05/0.4504, allocations: 184.3 kB / 0.7662 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.181e-05/0.4504, allocations: 180.2 kB / 0.7664 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.641e-05/0.4505, allocations: 319.6 kB / 0.7667 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.4506, allocations: 201.8 kB / 0.7669 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.4507, allocations: 184.3 kB / 0.7671 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.4508, allocations: 105 kB / 0.7672 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.4508, allocations: 184.2 kB / 0.7674 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.4509, allocations: 105 kB / 0.7675 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000132/0.451, allocations: 184.5 kB / 0.7676 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.451, allocations: 0 / 0.7676 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002185/0.4512, allocations: 20 kB / 0.7676 GB, free: 11.12 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.0002631/0.4515, allocations: 0.828 MB / 0.7685 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.788e-05/0.4516, allocations: 23.92 kB / 0.7685 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4516, allocations: 0 / 0.7685 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.4516, allocations: 8.312 kB / 0.7685 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.4521, allocations: 0.4973 MB / 0.769 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.4535, allocations: 2.069 MB / 0.771 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.4538, allocations: 0.7202 MB / 0.7717 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.275e-05/0.4538, allocations: 21.55 kB / 0.7717 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.4539, allocations: 39.42 kB / 0.7718 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.4539, allocations: 3.938 kB / 0.7718 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.333/3.787, allocations: 3.753 MB / 0.7754 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/3.787, allocations: 203.2 kB / 0.7756 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/5.253, allocations: 4.062 kB / 0.7756 GB, free: 2.934 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)