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.001264/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001181/0.001181, allocations: 197.5 kB / 16.14 MB, free: 6.66 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.8936/0.8936, allocations: 143 MB / 433 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.91 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1383, allocations: 82.04 MB / 0.5937 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.373/0.5114, allocations: 163.9 MB / 0.7538 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004952/0.5163, allocations: 5.711 MB / 0.7594 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.5165, allocations: 7.938 kB / 0.7594 GB, free: 4.094 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.0003437/0.5169, allocations: 76.36 kB / 0.7595 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.5171, allocations: 53.36 kB / 0.7595 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.5172, allocations: 31.97 kB / 0.7595 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.5174, allocations: 263 kB / 0.7598 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.5176, allocations: 83.97 kB / 0.7599 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.5178, allocations: 91.64 kB / 0.76 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.5179, allocations: 75.58 kB / 0.76 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.5179, allocations: 8 kB / 0.76 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.258e-05/0.518, allocations: 4 kB / 0.76 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.518, allocations: 27.91 kB / 0.7601 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.371e-05/0.5181, allocations: 63.62 kB / 0.7601 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.5183, allocations: 167.4 kB / 0.7603 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5183, allocations: 4 kB / 0.7603 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5183, allocations: 0 / 0.7603 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.5183, allocations: 0 / 0.7603 GB, free: 3.168 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.000512/0.5188, allocations: 439 kB / 0.7607 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.5188, allocations: 12.03 kB / 0.7607 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.5189, allocations: 38.56 kB / 0.7608 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.5189, allocations: 15.81 kB / 0.7608 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.5192, allocations: 254.5 kB / 0.761 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.5192, allocations: 8.234 kB / 0.761 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.5192, allocations: 16 kB / 0.761 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.5194, allocations: 172.7 kB / 0.7612 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.5195, allocations: 3.938 kB / 0.7612 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5195, allocations: 4 kB / 0.7612 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.5195, allocations: 8 kB / 0.7612 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.5196, allocations: 75.83 kB / 0.7613 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007602/0.5204, allocations: 1.152 MB / 0.7624 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.088e-05/0.5204, allocations: 173.1 kB / 0.7626 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.5205, allocations: 80.14 kB / 0.7627 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.5205, allocations: 83.22 kB / 0.7627 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.5206, allocations: 109.8 kB / 0.7628 GB, free: 344 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5206, allocations: 0 / 0.7628 GB, free: 344 kB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.099e-05/0.5207, allocations: 45.5 kB / 0.7629 GB, free: 292 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.5207, allocations: 178.1 kB / 0.7631 GB, free: 88 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.521, allocations: 251.1 kB / 0.7633 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.521, allocations: 25.7 kB / 0.7633 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.5211, allocations: 139.8 kB / 0.7634 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-06/0.5211, allocations: 4 kB / 0.7635 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.5212, allocations: 17.72 kB / 0.7635 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5213, allocations: 330.8 kB / 0.7638 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.5213, allocations: 4 kB / 0.7638 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.5214, allocations: 71.72 kB / 0.7639 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.5214, allocations: 44.23 kB / 0.7639 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5215, allocations: 3.984 kB / 0.7639 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001467/0.5216, allocations: 93.31 kB / 0.764 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5216, allocations: 4 kB / 0.764 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.5216, allocations: 0 / 0.764 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.5217, allocations: 4 kB / 0.764 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.5217, allocations: 12.05 kB / 0.764 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5217, allocations: 0 / 0.764 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.5218, allocations: 19.81 kB / 0.764 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.5218, allocations: 4 kB / 0.764 GB, free: 15 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 0.0001174/0.5219, allocations: 209.2 kB / 0.7642 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.522, allocations: 124.7 kB / 0.7644 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.5221, allocations: 117.9 kB / 0.7645 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.868e-05/0.5221, allocations: 190.3 kB / 0.7646 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-05/0.5222, allocations: 176.3 kB / 0.7648 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-05/0.5223, allocations: 184.2 kB / 0.765 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.5225, allocations: 457.1 kB / 0.7654 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/0.5226, allocations: 104.9 kB / 0.7655 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.5226, allocations: 108.9 kB / 0.7656 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-05/0.5227, allocations: 176.3 kB / 0.7658 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.233e-05/0.5227, allocations: 180.2 kB / 0.766 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-05/0.5228, allocations: 184.9 kB / 0.7661 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-05/0.5229, allocations: 184.2 kB / 0.7663 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.523, allocations: 311.9 kB / 0.7666 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.5231, allocations: 209.8 kB / 0.7668 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.5232, allocations: 184.4 kB / 0.767 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5233, allocations: 105 kB / 0.7671 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.5234, allocations: 188.2 kB / 0.7673 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.5234, allocations: 105 kB / 0.7674 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001617/0.5236, allocations: 180.5 kB / 0.7675 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5236, allocations: 0 / 0.7675 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002313/0.5238, allocations: 23.91 kB / 0.7676 GB, free: 11.16 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.0003677/0.5242, allocations: 0.828 MB / 0.7684 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.138e-05/0.5243, allocations: 23.92 kB / 0.7684 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5243, allocations: 3.938 kB / 0.7684 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.5243, allocations: 320 / 0.7684 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.5249, allocations: 0.5744 MB / 0.769 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.5266, allocations: 2.057 MB / 0.771 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.5269, allocations: 0.7244 MB / 0.7717 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.615e-05/0.527, allocations: 21.48 kB / 0.7717 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.5271, allocations: 48.41 kB / 0.7718 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.5271, allocations: 0 / 0.7718 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.5395, allocations: 3.63 MB / 0.7753 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.5397, allocations: 206 kB / 0.7755 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.127, allocations: 2.625 kB / 0.7755 GB, free: 2.984 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)