Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001265/0.001265, allocations: 97.92 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.001409/0.001409, allocations: 221.7 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002521/0.002521, allocations: 290.1 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.205/1.205, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004698/0.004698, allocations: 97.42 kB / 0.7402 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1998, allocations: 95.39 MB / 0.8334 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1893/0.3891, allocations: 146.4 MB / 0.9764 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006459/0.3956, allocations: 5.171 MB / 0.9814 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.3959, allocations: 7.938 kB / 0.9814 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.3963, allocations: 103.2 kB / 0.9815 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.3966, allocations: 63.56 kB / 0.9816 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.4351/0.8317, allocations: 35.48 kB / 0.9816 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.8322, allocations: 210.7 kB / 0.9818 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.8324, allocations: 55.02 kB / 0.9819 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.8326, allocations: 107.2 kB / 0.982 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.8328, allocations: 72 kB / 0.9821 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.8328, allocations: 9.938 kB / 0.9821 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.764e-05/0.8329, allocations: 9.125 kB / 0.9821 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.8329, allocations: 35.72 kB / 0.9821 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/0.833, allocations: 53.81 kB / 0.9822 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.8333, allocations: 161.3 kB / 0.9823 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8333, allocations: 1.094 kB / 0.9823 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8333, allocations: 0 / 0.9823 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.8333, allocations: 6.781 kB / 0.9823 GB, free: 3.676 MB / 0.7169 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.0006836/0.834, allocations: 373.8 kB / 0.9827 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.834, allocations: 12.25 kB / 0.9827 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.644e-05/0.834, allocations: 3.234 kB / 0.9827 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.8341, allocations: 44.28 kB / 0.9827 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.8341, allocations: 18.84 kB / 0.9828 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.8344, allocations: 195.5 kB / 0.9829 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.8344, allocations: 8.703 kB / 0.9829 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.8345, allocations: 12.78 kB / 0.983 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.8348, allocations: 229.8 kB / 0.9832 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8348, allocations: 0 / 0.9832 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.8348, allocations: 8.234 kB / 0.9832 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.8348, allocations: 3.562 kB / 0.9832 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.8349, allocations: 73.53 kB / 0.9833 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009875/0.8359, allocations: 1.098 MB / 0.9843 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.836, allocations: 173.3 kB / 0.9845 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.836, allocations: 81.67 kB / 0.9846 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.8361, allocations: 76.09 kB / 0.9846 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.8362, allocations: 108.2 kB / 0.9847 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.8362, allocations: 0 / 0.9847 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.081e-05/0.8362, allocations: 50.95 kB / 0.9848 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.8364, allocations: 183 kB / 0.985 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.8367, allocations: 250.3 kB / 0.9852 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.8367, allocations: 26.42 kB / 0.9852 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.8368, allocations: 137.8 kB / 0.9854 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/0.8368, allocations: 1.438 kB / 0.9854 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.8368, allocations: 20.95 kB / 0.9854 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.837, allocations: 327.3 kB / 0.9857 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/0.837, allocations: 10.19 kB / 0.9857 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.8371, allocations: 172.5 kB / 0.9859 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.9e-05/0.8372, allocations: 48.5 kB / 0.9859 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8372, allocations: 5.5 kB / 0.9859 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002142/0.8374, allocations: 87.84 kB / 0.986 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.8374, allocations: 7.188 kB / 0.986 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.8374, allocations: 4.844 kB / 0.986 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8374, allocations: 3.469 kB / 0.986 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.8375, allocations: 8.031 kB / 0.986 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.8375, allocations: 2.922 kB / 0.986 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.8376, allocations: 17.66 kB / 0.9861 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.8376, allocations: 1.969 kB / 0.9861 GB, free: 16.5 MB / 0.7325 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.0001626/0.8378, allocations: 210.7 kB / 0.9863 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.8379, allocations: 121.6 kB / 0.9864 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/0.838, allocations: 130.9 kB / 0.9865 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001322/0.8381, allocations: 178.4 kB / 0.9867 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.291e-05/0.8382, allocations: 183.1 kB / 0.9868 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.729e-05/0.8383, allocations: 181.8 kB / 0.987 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.8386, allocations: 411.5 kB / 0.9874 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/0.8387, allocations: 104.5 kB / 0.9875 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.8387, allocations: 105.9 kB / 0.9876 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-05/0.8388, allocations: 181.8 kB / 0.9878 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.8389, allocations: 186.6 kB / 0.988 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-05/0.839, allocations: 178.7 kB / 0.9881 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.004e-05/0.8391, allocations: 184.5 kB / 0.9883 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.8393, allocations: 320.3 kB / 0.9886 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.8394, allocations: 121.5 kB / 0.9887 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.8395, allocations: 188.4 kB / 0.9889 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.8396, allocations: 103.2 kB / 0.989 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.8397, allocations: 184 kB / 0.9892 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.8398, allocations: 102.6 kB / 0.9893 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002053/0.84, allocations: 185.6 kB / 0.9895 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.84, allocations: 4.781 kB / 0.9895 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002814/0.8403, allocations: 21.38 kB / 0.9895 GB, free: 13.14 MB / 0.7325 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.0004922/0.8407, allocations: 0.8207 MB / 0.9903 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.8408, allocations: 23.02 kB / 0.9903 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8408, allocations: 0 / 0.9903 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.8408, allocations: 2.609 kB / 0.9903 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.8416, allocations: 0.5102 MB / 0.9908 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.8438, allocations: 2.052 MB / 0.9928 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.844, allocations: 105.1 kB / 0.9929 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.805e-05/0.844, allocations: 24.56 kB / 0.9929 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.8441, allocations: 37.44 kB / 0.993 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.8441, allocations: 1.094 kB / 0.993 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.8727, allocations: 4.331 MB / 0.9972 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.22, allocations: 7.703 kB / 0.9972 GB, free: 9.824 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.3211167040281] Failed to read output from testmodel.py, exit status != 0: 12.386451079044491 12.408192984 11.570861426 Calling exit ...