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.001333/0.001333, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001511/0.001511, allocations: 215 kB / 20.13 MB, free: 2.949 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.003686/0.003686, allocations: 284.3 kB / 309.8 MB, free: 3.52 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.093/1.093, allocations: 180.6 MB / 0.5338 GB, free: 12.83 MB / 398.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.002938/0.002938, allocations: 91.86 kB / 0.7347 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/0.5343, allocations: 95.34 MB / 0.8278 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.2156/0.7499, allocations: 169.5 MB / 0.9933 GB, free: 48 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006952/0.7568, allocations: 5.739 MB / 0.9989 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.7571, allocations: 7.938 kB / 0.9989 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.7575, allocations: 95.3 kB / 0.999 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.7577, allocations: 67.59 kB / 0.9991 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.7579, allocations: 31.91 kB / 0.9991 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.7582, allocations: 219.1 kB / 0.9993 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.7584, allocations: 58.66 kB / 0.9994 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.7587, allocations: 107.6 kB / 0.9995 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.7588, allocations: 71.64 kB / 0.9996 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.7589, allocations: 11.94 kB / 0.9996 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.7589, allocations: 8 kB / 0.9996 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.7589, allocations: 31.91 kB / 0.9996 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.759, allocations: 79.55 kB / 0.9997 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.7593, allocations: 159.2 kB / 0.9998 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7593, allocations: 0 / 0.9998 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7593, allocations: 0 / 0.9998 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.7593, allocations: 0 / 0.9998 GB, free: 9.359 MB / 0.7325 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.0007218/0.76, allocations: 452.9 kB / 1 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.76, allocations: 12.03 kB / 1 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.724e-05/0.7601, allocations: 4.234 kB / 1 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.7601, allocations: 50.55 kB / 1 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.7602, allocations: 27.8 kB / 1 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.7605, allocations: 238.8 kB / 1.001 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.7605, allocations: 8.234 kB / 1.001 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.7605, allocations: 15.94 kB / 1.001 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.7608, allocations: 168.5 kB / 1.001 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.7608, allocations: 7.938 kB / 1.001 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.7608, allocations: 4 kB / 1.001 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.7608, allocations: 4 kB / 1.001 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.761, allocations: 71.78 kB / 1.001 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.762, allocations: 1.156 MB / 1.002 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.599e-05/0.7621, allocations: 173 kB / 1.002 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.7621, allocations: 80.14 kB / 1.002 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.7621, allocations: 79.28 kB / 1.002 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.7622, allocations: 113.8 kB / 1.002 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.7622, allocations: 0 / 1.002 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.903e-05/0.7623, allocations: 45.55 kB / 1.002 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.7624, allocations: 178.1 kB / 1.003 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.7627, allocations: 253 kB / 1.003 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.7627, allocations: 25.7 kB / 1.003 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.7628, allocations: 128 kB / 1.003 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.7628, allocations: 0 / 1.003 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.7629, allocations: 29.7 kB / 1.003 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.763, allocations: 326.8 kB / 1.003 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.7631, allocations: 8 kB / 1.003 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.7631, allocations: 63.72 kB / 1.003 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.7632, allocations: 56.22 kB / 1.003 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7632, allocations: 0 / 1.003 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001666/0.7634, allocations: 89.41 kB / 1.004 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7634, allocations: 8.156 kB / 1.004 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7634, allocations: 0 / 1.004 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.7634, allocations: 7.984 kB / 1.004 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.7635, allocations: 8 kB / 1.004 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.7635, allocations: 7.875 kB / 1.004 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.7636, allocations: 15.83 kB / 1.004 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.7636, allocations: 4 kB / 1.004 GB, free: 5.156 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.0001514/0.7637, allocations: 209 kB / 1.004 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/0.7638, allocations: 124.9 kB / 1.004 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.7639, allocations: 121.8 kB / 1.004 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.121e-05/0.764, allocations: 180.3 kB / 1.004 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.929e-05/0.7641, allocations: 188.2 kB / 1.004 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.768e-05/0.7641, allocations: 176.3 kB / 1.005 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.7645, allocations: 453.1 kB / 1.005 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.775e-05/0.7645, allocations: 113 kB / 1.005 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.7646, allocations: 101 kB / 1.005 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.064e-05/0.7646, allocations: 192.1 kB / 1.005 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/0.7647, allocations: 176.3 kB / 1.006 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.759e-05/0.7648, allocations: 180.3 kB / 1.006 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.071e-05/0.7649, allocations: 188.2 kB / 1.006 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.7651, allocations: 323.6 kB / 1.006 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.7652, allocations: 198 kB / 1.006 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.7653, allocations: 184.2 kB / 1.007 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.7654, allocations: 108.9 kB / 1.007 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/0.7655, allocations: 184.3 kB / 1.007 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.7655, allocations: 108.9 kB / 1.007 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001846/0.7657, allocations: 180.5 kB / 1.007 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7657, allocations: 0 / 1.007 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002512/0.766, allocations: 24 kB / 1.007 GB, free: 1.305 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.000497/0.7665, allocations: 0.8204 MB / 1.008 GB, free: 464 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.7666, allocations: 19.92 kB / 1.008 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7666, allocations: 0 / 1.008 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.7666, allocations: 0 / 1.008 GB, free: 444 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.7672, allocations: 0.5003 MB / 1.008 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.7695, allocations: 2.049 MB / 1.01 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.7699, allocations: 0.7202 MB / 1.011 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.888e-05/0.77, allocations: 21.53 kB / 1.011 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.77, allocations: 43.36 kB / 1.011 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.77, allocations: 4 kB / 1.011 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.7909, allocations: 3.948 MB / 1.015 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/9.171, allocations: 14.03 kB / 1.015 GB, free: 9.148 MB / 0.7481 GB " [Timeout remaining time 651] (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: 13.270034680026583] Failed to read output from testmodel.py, exit status != 0: 9.301807047973853 9.324925232 8.561353908 Calling exit ...