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.001254/0.001254, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001316/0.001316, allocations: 212 kB / 19.43 MB, free: 3.637 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.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0025/0.0025, allocations: 293.2 kB / 309.1 MB, free: 4 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.231/1.231, allocations: 180.9 MB / 0.5333 GB, free: 13.7 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",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.002794/0.002794, allocations: 101.6 kB / 0.7342 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1666, allocations: 95.35 MB / 0.8273 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.6016/0.7682, allocations: 169.5 MB / 0.9929 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004992/0.7732, allocations: 5.744 MB / 0.9985 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.7734, allocations: 9.594 kB / 0.9985 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.7738, allocations: 106 kB / 0.9986 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.774, allocations: 55.98 kB / 0.9987 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.7741, allocations: 35.84 kB / 0.9987 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000308/0.7744, allocations: 212.8 kB / 0.9989 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.7746, allocations: 68.53 kB / 0.999 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.7748, allocations: 102.7 kB / 0.9991 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.775, allocations: 75.08 kB / 0.9991 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.775, allocations: 10.97 kB / 0.9991 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.583e-05/0.775, allocations: 11.3 kB / 0.9992 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.7751, allocations: 28.88 kB / 0.9992 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.7752, allocations: 71.77 kB / 0.9992 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.7754, allocations: 161.2 kB / 0.9994 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7754, allocations: 2.031 kB / 0.9994 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7754, allocations: 0 / 0.9994 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.7754, allocations: 0 / 0.9994 GB, free: 3.207 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.0007631/0.7762, allocations: 445.5 kB / 0.9998 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7762, allocations: 10.52 kB / 0.9998 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.7762, allocations: 44.31 kB / 0.9999 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.7763, allocations: 24.31 kB / 0.9999 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.7766, allocations: 254.9 kB / 1 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.7766, allocations: 9.547 kB / 1 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.7767, allocations: 11.56 kB / 1 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.7769, allocations: 176.3 kB / 1 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.7769, allocations: 1.688 kB / 1 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.7769, allocations: 5.5 kB / 1 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.7769, allocations: 5.172 kB / 1 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.7771, allocations: 70.06 kB / 1 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009645/0.778, allocations: 1.155 MB / 1.002 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.7781, allocations: 170.4 kB / 1.002 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.7782, allocations: 84.08 kB / 1.002 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.7782, allocations: 77.41 kB / 1.002 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.7783, allocations: 112.3 kB / 1.002 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7783, allocations: 4 kB / 1.002 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.717e-05/0.7783, allocations: 46.22 kB / 1.002 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/0.7784, allocations: 181.5 kB / 1.002 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.7788, allocations: 250.1 kB / 1.002 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.7788, allocations: 27.3 kB / 1.002 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.7789, allocations: 133.3 kB / 1.003 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.7789, allocations: 0.9375 kB / 1.003 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.7789, allocations: 24.3 kB / 1.003 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7791, allocations: 329.4 kB / 1.003 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.7791, allocations: 10.36 kB / 1.003 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.7791, allocations: 70.78 kB / 1.003 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.5e-05/0.7792, allocations: 50.8 kB / 1.003 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7792, allocations: 1.031 kB / 1.003 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001712/0.7794, allocations: 87.55 kB / 1.003 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7794, allocations: 10.47 kB / 1.003 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.7794, allocations: 3.422 kB / 1.003 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.7794, allocations: 4.562 kB / 1.003 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.7795, allocations: 10.3 kB / 1.003 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7795, allocations: 2.047 kB / 1.003 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.799e-05/0.7795, allocations: 18.47 kB / 1.003 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.7795, allocations: 3.219 kB / 1.003 GB, free: 16.02 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.0001403/0.7797, allocations: 206.8 kB / 1.003 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.7798, allocations: 126.2 kB / 1.003 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.7798, allocations: 119.8 kB / 1.004 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.812e-05/0.7799, allocations: 181.5 kB / 1.004 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.657e-05/0.78, allocations: 184.5 kB / 1.004 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-05/0.7801, allocations: 183.4 kB / 1.004 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.7804, allocations: 449.8 kB / 1.005 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/0.7804, allocations: 105.9 kB / 1.005 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.7805, allocations: 103.8 kB / 1.005 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.761e-05/0.7805, allocations: 188.3 kB / 1.005 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/0.7806, allocations: 179.2 kB / 1.005 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.923e-05/0.7807, allocations: 181.4 kB / 1.005 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.5e-05/0.7808, allocations: 186.5 kB / 1.005 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.7809, allocations: 326.5 kB / 1.006 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.7811, allocations: 202.2 kB / 1.006 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.7812, allocations: 183.6 kB / 1.006 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.7813, allocations: 103.7 kB / 1.006 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.7814, allocations: 182.2 kB / 1.006 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.7814, allocations: 103.1 kB / 1.007 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001891/0.7816, allocations: 187.1 kB / 1.007 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7816, allocations: 0.9688 kB / 1.007 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002562/0.7819, allocations: 20.69 kB / 1.007 GB, free: 12.5 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.0004772/0.7823, allocations: 0.8242 MB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.7824, allocations: 21.81 kB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7824, allocations: 0 / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.7824, allocations: 2.734 kB / 1.008 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.7831, allocations: 0.5035 MB / 1.008 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.7855, allocations: 2.045 MB / 1.01 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.7859, allocations: 0.7204 MB / 1.011 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.081e-05/0.7859, allocations: 26.16 kB / 1.011 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.786, allocations: 41.73 kB / 1.011 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.786, allocations: 4.531 kB / 1.011 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.819, allocations: 3.909 MB / 1.015 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/9.052, allocations: 8.203 kB / 1.015 GB, free: 8.652 MB / 0.7325 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.161290988326073] Failed to read output from testmodel.py, exit status != 0: 9.133949777111411 9.144027741 8.366527908 Calling exit ...