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.001743/0.001743, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001644/0.001644, allocations: 221.4 kB / 22.26 MB, free: 5.215 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.348/1.348, allocations: 230.6 MB / 256 MB, free: 8.004 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.8068/0.8068, allocations: 134 MB / 446.4 MB, free: 10.65 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",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.002055/0.002055, allocations: 66.34 kB / 0.6185 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1653, allocations: 85.9 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.5603/0.7256, allocations: 169.7 MB / 0.8682 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007195/0.7328, allocations: 5.778 MB / 0.8738 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.7331, allocations: 11.94 kB / 0.8738 GB, free: 7.109 MB / 0.6387 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.0005389/0.7336, allocations: 96.02 kB / 0.8739 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.7339, allocations: 59.59 kB / 0.874 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.7341, allocations: 47.83 kB / 0.874 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.7345, allocations: 215.6 kB / 0.8742 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.7347, allocations: 54.86 kB / 0.8743 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.735, allocations: 107.6 kB / 0.8744 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.7352, allocations: 75.69 kB / 0.8744 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.7352, allocations: 8 kB / 0.8745 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 2.756e-05/0.7353, allocations: 15.94 kB / 0.8745 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.7353, allocations: 31.86 kB / 0.8745 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.861e-05/0.7354, allocations: 71.61 kB / 0.8746 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.7357, allocations: 159.3 kB / 0.8747 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7357, allocations: 0 / 0.8747 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7357, allocations: 0 / 0.8747 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.7357, allocations: 0 / 0.8747 GB, free: 6.184 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.0007113/0.7364, allocations: 365.7 kB / 0.8751 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.7364, allocations: 12.03 kB / 0.8751 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.7365, allocations: 46.55 kB / 0.8751 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.7366, allocations: 23.84 kB / 0.8751 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.7369, allocations: 192.1 kB / 0.8753 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.7369, allocations: 12.23 kB / 0.8753 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.7369, allocations: 12 kB / 0.8754 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.7372, allocations: 168.7 kB / 0.8755 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.7372, allocations: 0 / 0.8755 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.7372, allocations: 11.94 kB / 0.8755 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.7373, allocations: 4 kB / 0.8755 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.7374, allocations: 71.77 kB / 0.8756 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.7385, allocations: 1.124 MB / 0.8767 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.7386, allocations: 173 kB / 0.8769 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.7386, allocations: 80.14 kB / 0.8769 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.7386, allocations: 79.28 kB / 0.877 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.825e-05/0.7387, allocations: 109.8 kB / 0.8771 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.7387, allocations: 7.938 kB / 0.8771 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001001/0.7388, allocations: 41.61 kB / 0.8772 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.7389, allocations: 182.1 kB / 0.8773 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.7392, allocations: 256.8 kB / 0.8776 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.7392, allocations: 25.7 kB / 0.8776 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.7394, allocations: 132 kB / 0.8777 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.7394, allocations: 80 / 0.8777 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.7394, allocations: 21.72 kB / 0.8778 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7396, allocations: 330.8 kB / 0.8781 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.7396, allocations: 7.984 kB / 0.8781 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.7397, allocations: 67.72 kB / 0.8781 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.916e-05/0.7397, allocations: 48.23 kB / 0.8782 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.7397, allocations: 3.938 kB / 0.8782 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001862/0.7399, allocations: 93.41 kB / 0.8783 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7399, allocations: 4.156 kB / 0.8783 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.74, allocations: 6.688 kB / 0.8783 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.74, allocations: 4 kB / 0.8783 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.74, allocations: 12 kB / 0.8783 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.74, allocations: 0 / 0.8783 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.7401, allocations: 11.89 kB / 0.8783 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.7401, allocations: 4 kB / 0.8783 GB, free: 2.191 MB / 0.6387 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.0001607/0.7403, allocations: 213 kB / 0.8785 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.7404, allocations: 116.9 kB / 0.8786 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.298e-05/0.7405, allocations: 125.6 kB / 0.8788 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.144e-05/0.7405, allocations: 184.2 kB / 0.8789 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.745e-05/0.7406, allocations: 180.2 kB / 0.8791 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.92e-05/0.7407, allocations: 184.2 kB / 0.8793 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.7411, allocations: 424.2 kB / 0.8797 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/0.7411, allocations: 109 kB / 0.8798 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.7412, allocations: 108.9 kB / 0.8799 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-05/0.7413, allocations: 176.3 kB / 0.8801 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.284e-05/0.7414, allocations: 184.2 kB / 0.8802 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.796e-05/0.7414, allocations: 176.3 kB / 0.8804 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.379e-05/0.7415, allocations: 196.1 kB / 0.8806 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.7417, allocations: 319.7 kB / 0.8809 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.7418, allocations: 128.8 kB / 0.881 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.7419, allocations: 180.2 kB / 0.8812 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.7421, allocations: 108.7 kB / 0.8813 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.7421, allocations: 184.3 kB / 0.8815 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.7422, allocations: 105 kB / 0.8816 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002028/0.7424, allocations: 180.5 kB / 0.8817 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7424, allocations: 0 / 0.8817 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002455/0.7426, allocations: 23.95 kB / 0.8818 GB, free: 14.47 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.0004947/0.7431, allocations: 0.8242 MB / 0.8826 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.232e-05/0.7432, allocations: 19.94 kB / 0.8826 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7432, allocations: 0 / 0.8826 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.7432, allocations: 4 kB / 0.8826 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.7439, allocations: 0.5085 MB / 0.8831 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.7461, allocations: 2.045 MB / 0.8851 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.7465, allocations: 0.7242 MB / 0.8858 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.881e-05/0.7466, allocations: 17.48 kB / 0.8858 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.7467, allocations: 39.42 kB / 0.8858 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.7467, allocations: 7.938 kB / 0.8859 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.7787, allocations: 4.009 MB / 0.8898 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.37, allocations: 0 / 0.8898 GB, free: 6.289 MB / 0.6544 GB " [Timeout remaining time 649] (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: 14.751613750122488] Failed to read output from testmodel.py, exit status != 0: 11.472892274148762 11.498741814 10.758529519 Calling exit ...