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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 100.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 222.3 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.971/0.971, allocations: 145 MB / 458.2 MB, free: 15.26 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 70.47 kB / 0.6338 GB, free: 6.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1815, allocations: 87.88 MB / 0.7197 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u): time 0.5657/0.7472, allocations: 146.5 MB / 0.8627 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006609/0.7538, allocations: 5.198 MB / 0.8678 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.7541, allocations: 11.94 kB / 0.8678 GB, free: 3.461 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.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.7.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.0004403/0.7545, allocations: 96.58 kB / 0.8679 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.7547, allocations: 55.61 kB / 0.8679 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.7549, allocations: 43.95 kB / 0.868 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.7552, allocations: 215.1 kB / 0.8682 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.7554, allocations: 54.88 kB / 0.8682 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.7556, allocations: 103.6 kB / 0.8683 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.7558, allocations: 83.56 kB / 0.8684 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.7558, allocations: 8 kB / 0.8684 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.488e-05/0.7558, allocations: 12 kB / 0.8684 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.7559, allocations: 31.92 kB / 0.8685 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/0.756, allocations: 55.69 kB / 0.8685 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.7562, allocations: 165 kB / 0.8687 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7562, allocations: 4 kB / 0.8687 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7562, allocations: 7.875 kB / 0.8687 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.7562, allocations: 0 / 0.8687 GB, free: 2.543 MB / 0.6387 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.0006454/0.7569, allocations: 361.7 kB / 0.869 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.7569, allocations: 16.02 kB / 0.869 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.839e-05/0.7569, allocations: 4.234 kB / 0.869 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.757, allocations: 42.56 kB / 0.8691 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.757, allocations: 27.84 kB / 0.8691 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.7573, allocations: 192.9 kB / 0.8693 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.7573, allocations: 8.234 kB / 0.8693 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.7574, allocations: 12 kB / 0.8693 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.7577, allocations: 219.8 kB / 0.8695 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.7577, allocations: 0 / 0.8695 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.7577, allocations: 12 kB / 0.8695 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.7577, allocations: 4 kB / 0.8695 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.7579, allocations: 67.83 kB / 0.8696 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.7589, allocations: 1.101 MB / 0.8707 GB, free: 324 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.7591, allocations: 173.1 kB / 0.8708 GB, free: 140 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.7591, allocations: 88.08 kB / 0.8709 GB, free: 48 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.7592, allocations: 79.27 kB / 0.871 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.984e-05/0.7592, allocations: 105.8 kB / 0.8711 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.7592, allocations: 0 / 0.8711 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.287e-05/0.7593, allocations: 49.55 kB / 0.8711 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.7594, allocations: 182.1 kB / 0.8713 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.7597, allocations: 248.9 kB / 0.8716 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.7597, allocations: 25.7 kB / 0.8716 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.7599, allocations: 144 kB / 0.8717 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.7599, allocations: 0 / 0.8717 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.7599, allocations: 21.72 kB / 0.8717 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7601, allocations: 326.8 kB / 0.8721 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.7601, allocations: 8 kB / 0.8721 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.7602, allocations: 170.5 kB / 0.8722 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.7603, allocations: 56.22 kB / 0.8723 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7603, allocations: 3.938 kB / 0.8723 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001788/0.7605, allocations: 85.47 kB / 0.8724 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.7605, allocations: 4 kB / 0.8724 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.7605, allocations: 4 kB / 0.8724 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7605, allocations: 160 / 0.8724 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.7606, allocations: 20.86 kB / 0.8724 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.7606, allocations: 2.734 kB / 0.8724 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.7607, allocations: 15.89 kB / 0.8724 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.7607, allocations: 0 / 0.8724 GB, free: 14.38 MB / 0.6544 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.000156/0.7609, allocations: 213 kB / 0.8726 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.761, allocations: 124.8 kB / 0.8727 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.632e-05/0.761, allocations: 121.8 kB / 0.8728 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-05/0.7611, allocations: 176.3 kB / 0.873 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.362e-05/0.7612, allocations: 184.2 kB / 0.8732 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-05/0.7613, allocations: 177.1 kB / 0.8734 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.7617, allocations: 428.1 kB / 0.8738 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.605e-05/0.7617, allocations: 105 kB / 0.8739 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.7618, allocations: 101 kB / 0.874 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.871e-05/0.7618, allocations: 180.2 kB / 0.8741 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.008e-05/0.7619, allocations: 176.3 kB / 0.8743 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-05/0.762, allocations: 194 kB / 0.8745 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.038e-05/0.7621, allocations: 180.2 kB / 0.8747 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.7623, allocations: 323.6 kB / 0.875 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.7624, allocations: 124.9 kB / 0.8751 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.7625, allocations: 180.2 kB / 0.8753 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.7627, allocations: 105 kB / 0.8754 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.7628, allocations: 184.3 kB / 0.8755 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.7628, allocations: 108.9 kB / 0.8756 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001897/0.763, allocations: 180.5 kB / 0.8758 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.763, allocations: 0 / 0.8758 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002816/0.7633, allocations: 24 kB / 0.8758 GB, free: 10.67 MB / 0.6544 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.0005163/0.7638, allocations: 0.8203 MB / 0.8766 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.7639, allocations: 15.92 kB / 0.8767 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.7639, allocations: 4.312 kB / 0.8767 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.7639, allocations: 11.94 kB / 0.8767 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.7646, allocations: 0.4989 MB / 0.8772 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.7669, allocations: 2.044 MB / 0.8792 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.767, allocations: 110.2 kB / 0.8793 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.559e-05/0.7671, allocations: 21.48 kB / 0.8793 GB, free: 7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.7671, allocations: 39.42 kB / 0.8793 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of SimCode: time 7.31e-07/0.7671, allocations: 0 / 0.8793 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.7944, allocations: 4.33 MB / 0.8835 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.19, allocations: 13.67 kB / 0.8836 GB, free: 2.844 MB / 0.6544 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.174943848047405] Failed to read output from testmodel.py, exit status != 0: 12.398926615016535 12.419892781 11.659013644 Calling exit ...