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.004004/0.004004, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001135/0.001135, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.309 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 0.9041/0.9041, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 68.08 kB / 0.5953 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3067, allocations: 82.03 MB / 0.6754 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.1747/0.4813, allocations: 166.1 MB / 0.8376 GB, free: 15.43 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005703/0.4871, allocations: 5.723 MB / 0.8432 GB, free: 9.684 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.4873, allocations: 7.938 kB / 0.8432 GB, free: 9.676 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.0003863/0.4877, allocations: 95.31 kB / 0.8433 GB, free: 9.582 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.4878, allocations: 59.59 kB / 0.8434 GB, free: 9.523 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.4879, allocations: 35.97 kB / 0.8434 GB, free: 9.488 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.4882, allocations: 215 kB / 0.8436 GB, free: 9.277 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.4884, allocations: 94.62 kB / 0.8437 GB, free: 9.184 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.4886, allocations: 115.5 kB / 0.8438 GB, free: 9.07 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.4888, allocations: 63.7 kB / 0.8439 GB, free: 9.008 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.4888, allocations: 12 kB / 0.8439 GB, free: 8.996 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.4888, allocations: 8 kB / 0.8439 GB, free: 8.988 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.4889, allocations: 31.86 kB / 0.8439 GB, free: 8.957 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.489, allocations: 67.67 kB / 0.844 GB, free: 8.891 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.4892, allocations: 165.4 kB / 0.8442 GB, free: 8.73 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4892, allocations: 0 / 0.8442 GB, free: 8.73 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4892, allocations: 3.938 kB / 0.8442 GB, free: 8.727 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.4892, allocations: 0 / 0.8442 GB, free: 8.727 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.0005393/0.4897, allocations: 458.7 kB / 0.8446 GB, free: 8.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.4898, allocations: 8.031 kB / 0.8446 GB, free: 8.223 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.4898, allocations: 42.55 kB / 0.8447 GB, free: 8.172 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.4899, allocations: 19.91 kB / 0.8447 GB, free: 8.152 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.4902, allocations: 261.1 kB / 0.8449 GB, free: 7.859 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.4902, allocations: 12.22 kB / 0.8449 GB, free: 7.848 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4902, allocations: 12 kB / 0.8449 GB, free: 7.836 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.4904, allocations: 166.8 kB / 0.8451 GB, free: 7.645 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4905, allocations: 8 kB / 0.8451 GB, free: 7.637 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4905, allocations: 4 kB / 0.8451 GB, free: 7.633 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.4905, allocations: 4 kB / 0.8451 GB, free: 7.629 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.4906, allocations: 67.84 kB / 0.8452 GB, free: 7.562 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/0.4915, allocations: 1.152 MB / 0.8463 GB, free: 6.332 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.4916, allocations: 165.1 kB / 0.8465 GB, free: 6.16 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.4916, allocations: 88.08 kB / 0.8466 GB, free: 6.07 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4916, allocations: 75.28 kB / 0.8466 GB, free: 5.996 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.4917, allocations: 113.8 kB / 0.8467 GB, free: 5.875 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4917, allocations: 0 / 0.8467 GB, free: 5.875 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 7.851e-05/0.4918, allocations: 45.61 kB / 0.8468 GB, free: 5.824 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/0.4919, allocations: 178.1 kB / 0.8469 GB, free: 5.625 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.4921, allocations: 257 kB / 0.8472 GB, free: 5.367 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4922, allocations: 29.7 kB / 0.8472 GB, free: 5.332 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.4923, allocations: 128 kB / 0.8473 GB, free: 5.203 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.4923, allocations: 0 / 0.8473 GB, free: 5.203 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.4923, allocations: 21.72 kB / 0.8474 GB, free: 5.176 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4925, allocations: 326.8 kB / 0.8477 GB, free: 4.848 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.4925, allocations: 7.984 kB / 0.8477 GB, free: 4.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.596e-05/0.4926, allocations: 71.67 kB / 0.8477 GB, free: 4.742 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.4927, allocations: 48.22 kB / 0.8478 GB, free: 4.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4927, allocations: 4.125 kB / 0.8478 GB, free: 4.676 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001519/0.4928, allocations: 89.42 kB / 0.8479 GB, free: 4.582 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4928, allocations: 11.98 kB / 0.8479 GB, free: 4.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4929, allocations: 3.938 kB / 0.8479 GB, free: 4.566 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4929, allocations: 4 kB / 0.8479 GB, free: 4.562 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.4929, allocations: 4 kB / 0.8479 GB, free: 4.559 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4929, allocations: 7.938 kB / 0.8479 GB, free: 4.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.493, allocations: 19.83 kB / 0.8479 GB, free: 4.531 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.493, allocations: 8.156 kB / 0.8479 GB, free: 4.523 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.0001378/0.4932, allocations: 205.1 kB / 0.8481 GB, free: 4.312 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.4933, allocations: 128.7 kB / 0.8483 GB, free: 4.18 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.786e-05/0.4934, allocations: 117.8 kB / 0.8484 GB, free: 4.059 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.561e-05/0.4934, allocations: 176.3 kB / 0.8485 GB, free: 3.879 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.074e-05/0.4935, allocations: 188.2 kB / 0.8487 GB, free: 3.688 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.786e-05/0.4936, allocations: 184.2 kB / 0.8489 GB, free: 3.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.4939, allocations: 457 kB / 0.8493 GB, free: 2.996 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.175e-05/0.494, allocations: 101 kB / 0.8494 GB, free: 2.891 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.494, allocations: 105 kB / 0.8495 GB, free: 2.781 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.421e-05/0.4941, allocations: 184.2 kB / 0.8497 GB, free: 2.594 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.4942, allocations: 184.4 kB / 0.8499 GB, free: 2.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.742e-05/0.4943, allocations: 180.2 kB / 0.8501 GB, free: 2.223 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.192e-05/0.4944, allocations: 180.3 kB / 0.8502 GB, free: 2.039 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.4945, allocations: 327.6 kB / 0.8505 GB, free: 1.695 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.4947, allocations: 198 kB / 0.8507 GB, free: 1.477 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.4948, allocations: 188.2 kB / 0.8509 GB, free: 1.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.4949, allocations: 101 kB / 0.851 GB, free: 1.18 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.495, allocations: 180.2 kB / 0.8512 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.495, allocations: 105 kB / 0.8513 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001823/0.4952, allocations: 184.5 kB / 0.8514 GB, free: 0.707 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4952, allocations: 0 / 0.8514 GB, free: 0.707 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002389/0.4955, allocations: 24 kB / 0.8515 GB, free: 0.6836 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.0004633/0.4959, allocations: 0.832 MB / 0.8523 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.968e-05/0.496, allocations: 16 kB / 0.8523 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.496, allocations: 4.312 kB / 0.8523 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.496, allocations: 3.938 kB / 0.8523 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.4967, allocations: 0.5078 MB / 0.8528 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.4986, allocations: 2.043 MB / 0.8548 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.499, allocations: 0.7124 MB / 0.8555 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.807e-05/0.499, allocations: 25.53 kB / 0.8555 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.4991, allocations: 39.42 kB / 0.8556 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of SimCode: time 2.21e-07/0.4991, allocations: 0 / 0.8556 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/0.6429, allocations: 3.887 MB / 0.8594 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.806/10.45, allocations: 19.95 kB / 0.8594 GB, free: 8.551 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 & /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)