Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001255/0.001255, allocations: 119 kB / 17.17 MB, free: 5.906 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.00128/0.00128, allocations: 211 kB / 20.13 MB, free: 2.965 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.436/1.436, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.837/0.837, allocations: 133.9 MB / 443.5 MB, free: 13.94 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001917/0.001917, allocations: 69.73 kB / 0.6141 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1446, allocations: 85.85 MB / 0.6979 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.194/0.3385, allocations: 169.5 MB / 0.8635 GB, free: 4.707 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3752/0.7138, allocations: 5.732 MB / 0.8691 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.714, allocations: 11.03 kB / 0.8691 GB, free: 1.824 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/IDEAS 3.0.0/Fluid/FMI/FlowSplitter_u.mo:47:3-49: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/IDEAS 3.0.0/Fluid/FMI/FlowSplitter_u.mo:50:3-51: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.0004193/0.7145, allocations: 99.97 kB / 0.8692 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.7147, allocations: 56.38 kB / 0.8692 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.7148, allocations: 36.66 kB / 0.8693 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.7151, allocations: 215.5 kB / 0.8695 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.7153, allocations: 67.56 kB / 0.8695 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.7155, allocations: 101.3 kB / 0.8696 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.7156, allocations: 74.81 kB / 0.8697 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.7157, allocations: 10.94 kB / 0.8697 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.908e-05/0.7157, allocations: 10.12 kB / 0.8697 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.7157, allocations: 33.69 kB / 0.8698 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 9.196e-05/0.7158, allocations: 69.16 kB / 0.8698 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.7161, allocations: 161.2 kB / 0.87 GB, free: 1.805 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7161, allocations: 3.578 kB / 0.87 GB, free: 1.805 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7161, allocations: 0 / 0.87 GB, free: 1.805 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.7161, allocations: 2.172 kB / 0.87 GB, free: 1.805 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.0006392/0.7167, allocations: 446.6 kB / 0.8704 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7168, allocations: 11.08 kB / 0.8704 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.528e-05/0.7168, allocations: 4.203 kB / 0.8704 GB, free: 17.41 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.7168, allocations: 44.7 kB / 0.8705 GB, free: 17.37 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.7168, allocations: 19.78 kB / 0.8705 GB, free: 17.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.7172, allocations: 256.6 kB / 0.8707 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.7172, allocations: 10 kB / 0.8707 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.7172, allocations: 12.22 kB / 0.8708 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.7174, allocations: 169.3 kB / 0.8709 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.7174, allocations: 8.625 kB / 0.8709 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.7175, allocations: 7.562 kB / 0.8709 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.7175, allocations: 3.406 kB / 0.8709 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.7176, allocations: 71.41 kB / 0.871 GB, free: 17.06 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009895/0.7186, allocations: 1.154 MB / 0.8721 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.7187, allocations: 170 kB / 0.8723 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.7187, allocations: 87.86 kB / 0.8724 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.7188, allocations: 75.28 kB / 0.8724 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.7e-05/0.7188, allocations: 110.8 kB / 0.8726 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.7188, allocations: 0 / 0.8726 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.7189, allocations: 48.39 kB / 0.8726 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7191, allocations: 183.1 kB / 0.8728 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.7194, allocations: 247.1 kB / 0.873 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.7194, allocations: 26.58 kB / 0.873 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.7195, allocations: 142.3 kB / 0.8732 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-06/0.7195, allocations: 1.641 kB / 0.8732 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.7196, allocations: 20.31 kB / 0.8732 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.7197, allocations: 329 kB / 0.8735 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.7198, allocations: 8.078 kB / 0.8735 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.7198, allocations: 71.17 kB / 0.8736 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.13e-05/0.7199, allocations: 49.31 kB / 0.8736 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7199, allocations: 2.656 kB / 0.8736 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001767/0.7201, allocations: 87.33 kB / 0.8737 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7201, allocations: 6.828 kB / 0.8737 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7201, allocations: 2.125 kB / 0.8737 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.7201, allocations: 2.016 kB / 0.8737 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.7202, allocations: 11.83 kB / 0.8737 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.7202, allocations: 3.594 kB / 0.8737 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.7203, allocations: 17.53 kB / 0.8738 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.7203, allocations: 10.92 kB / 0.8738 GB, free: 14.63 MB / 0.6856 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.0001733/0.7205, allocations: 202.7 kB / 0.874 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.7206, allocations: 126.2 kB / 0.8741 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.7206, allocations: 122.4 kB / 0.8742 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/0.7207, allocations: 186 kB / 0.8744 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.21e-05/0.7208, allocations: 183.4 kB / 0.8745 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.871e-05/0.7209, allocations: 183.6 kB / 0.8747 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.7212, allocations: 449.6 kB / 0.8752 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.507e-05/0.7213, allocations: 110 kB / 0.8753 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.905e-05/0.7213, allocations: 103.3 kB / 0.8754 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.383e-05/0.7214, allocations: 182.6 kB / 0.8755 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/0.7215, allocations: 181.8 kB / 0.8757 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.521e-05/0.7216, allocations: 182 kB / 0.8759 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.409e-05/0.7217, allocations: 180.2 kB / 0.876 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.7218, allocations: 325.2 kB / 0.8764 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.722, allocations: 201.2 kB / 0.8766 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.7221, allocations: 180.5 kB / 0.8767 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.7222, allocations: 106.5 kB / 0.8768 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.7223, allocations: 183.5 kB / 0.877 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.7223, allocations: 105.6 kB / 0.8771 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002052/0.7225, allocations: 181.9 kB / 0.8773 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7225, allocations: 2.031 kB / 0.8773 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002426/0.7228, allocations: 24.11 kB / 0.8773 GB, free: 11.13 MB / 0.6856 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.0004741/0.7232, allocations: 0.8236 MB / 0.8781 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.7233, allocations: 22.41 kB / 0.8781 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7233, allocations: 0.8438 kB / 0.8781 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.7233, allocations: 1.062 kB / 0.8781 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.724, allocations: 0.5055 MB / 0.8786 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.7262, allocations: 2.049 MB / 0.8806 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.7266, allocations: 0.718 MB / 0.8813 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 9.182e-05/0.7267, allocations: 23.66 kB / 0.8813 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.7267, allocations: 47.55 kB / 0.8814 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.7267, allocations: 0 / 0.8814 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.7485, allocations: 3.916 MB / 0.8852 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.709, allocations: 14.09 kB / 0.8852 GB, free: 7.305 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.320043287996668] Failed to read output from testmodel.py, exit status != 0: 9.083129587990697 8.856614272 8.13660638 Calling exit ...