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.001616/0.001616, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002041/0.002041, allocations: 219 kB / 22.26 MB, free: 5.125 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.984 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.002486/0.002486, allocations: 287.5 kB / 312.7 MB, free: 2.883 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.192/1.192, allocations: 180.6 MB / 0.5369 GB, free: 12.89 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="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.00279/0.00279, allocations: 111.4 kB / 0.7396 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1789, allocations: 95.37 MB / 0.8327 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.5721/0.751, allocations: 169.7 MB / 0.9984 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004852/0.7559, allocations: 5.8 MB / 1.004 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.7561, allocations: 12.39 kB / 1.004 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.7565, allocations: 92.22 kB / 1.004 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.7567, allocations: 61.72 kB / 1.004 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.7568, allocations: 34.64 kB / 1.004 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.7571, allocations: 213.3 kB / 1.004 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.7573, allocations: 62.16 kB / 1.005 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.7575, allocations: 109.8 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.7576, allocations: 72.41 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.7577, allocations: 10.47 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/0.7577, allocations: 9.906 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.7577, allocations: 28.45 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.7578, allocations: 72.17 kB / 1.005 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.758, allocations: 161 kB / 1.005 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.758, allocations: 2.031 kB / 1.005 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.758, allocations: 0 / 1.005 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.758, allocations: 0 / 1.005 GB, free: 3.355 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.0007633/0.7588, allocations: 370.8 kB / 1.005 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.7588, allocations: 12.06 kB / 1.005 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.7589, allocations: 51.39 kB / 1.005 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.7589, allocations: 16.81 kB / 1.005 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.7593, allocations: 194.6 kB / 1.006 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.7593, allocations: 7.953 kB / 1.006 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.7593, allocations: 12.16 kB / 1.006 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.7596, allocations: 175.9 kB / 1.006 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.7596, allocations: 2.859 kB / 1.006 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.7596, allocations: 6.062 kB / 1.006 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.7596, allocations: 4.156 kB / 1.006 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.7597, allocations: 68 kB / 1.006 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.7606, allocations: 1.125 MB / 1.007 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.7607, allocations: 172.6 kB / 1.007 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.7608, allocations: 81.86 kB / 1.007 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.7608, allocations: 78.38 kB / 1.007 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.7608, allocations: 112.7 kB / 1.007 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7608, allocations: 2.062 kB / 1.007 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.769e-05/0.7609, allocations: 41.89 kB / 1.007 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.761, allocations: 185.6 kB / 1.008 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.7613, allocations: 247.6 kB / 1.008 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.7613, allocations: 26.55 kB / 1.008 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.7614, allocations: 135.8 kB / 1.008 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.7614, allocations: 0.7031 kB / 1.008 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.7615, allocations: 25.33 kB / 1.008 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7616, allocations: 330.6 kB / 1.008 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.7616, allocations: 7.5 kB / 1.008 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.7617, allocations: 72.58 kB / 1.008 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.7617, allocations: 55.5 kB / 1.008 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7617, allocations: 1.203 kB / 1.008 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001692/0.7619, allocations: 84.5 kB / 1.009 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7619, allocations: 14.12 kB / 1.009 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7619, allocations: 1.688 kB / 1.009 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.7619, allocations: 2.625 kB / 1.009 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.762, allocations: 7.344 kB / 1.009 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.762, allocations: 1.719 kB / 1.009 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.7621, allocations: 16.73 kB / 1.009 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.7621, allocations: 2.25 kB / 1.009 GB, free: 16.36 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.0001454/0.7623, allocations: 209.7 kB / 1.009 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.7623, allocations: 122.4 kB / 1.009 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.7624, allocations: 123.1 kB / 1.009 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.736e-05/0.7625, allocations: 187.4 kB / 1.009 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.579e-05/0.7626, allocations: 181 kB / 1.009 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.068e-05/0.7626, allocations: 181.9 kB / 1.01 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.7629, allocations: 422.3 kB / 1.01 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.395e-05/0.763, allocations: 105.7 kB / 1.01 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.763, allocations: 106 kB / 1.01 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.058e-05/0.7631, allocations: 182.3 kB / 1.01 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.7632, allocations: 183.2 kB / 1.011 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.34e-05/0.7632, allocations: 180.5 kB / 1.011 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.438e-05/0.7633, allocations: 182.6 kB / 1.011 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.7635, allocations: 329 kB / 1.011 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.7635, allocations: 124.8 kB / 1.011 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/0.7636, allocations: 181.9 kB / 1.011 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.7638, allocations: 103.3 kB / 1.012 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.7638, allocations: 184.1 kB / 1.012 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.7639, allocations: 105.8 kB / 1.012 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002019/0.7641, allocations: 186.3 kB / 1.012 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7641, allocations: 1.094 kB / 1.012 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002561/0.7643, allocations: 20.19 kB / 1.012 GB, free: 12.98 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.0004591/0.7648, allocations: 0.8245 MB / 1.013 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.7649, allocations: 22.22 kB / 1.013 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7649, allocations: 0 / 1.013 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.7649, allocations: 1.562 kB / 1.013 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.7655, allocations: 0.5097 MB / 1.013 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.7677, allocations: 2.033 MB / 1.015 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.768, allocations: 0.7193 MB / 1.016 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.735e-05/0.7681, allocations: 21.16 kB / 1.016 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.7682, allocations: 43.66 kB / 1.016 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.7682, allocations: 0.7812 kB / 1.016 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.7975, allocations: 4.03 MB / 1.02 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.08, allocations: 10.34 kB / 1.02 GB, free: 9.117 MB / 0.7325 GB " [Timeout remaining time 649] (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: 15.223923838999326] Failed to read output from testmodel.py, exit status != 0: 11.178687453000748 11.190101375 10.429585757 Calling exit ...