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.001336/0.001336, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001462/0.001462, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.789 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.002522/0.002522, allocations: 293.9 kB / 312.7 MB, free: 2.602 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.26/1.26, allocations: 180.6 MB / 0.5369 GB, free: 14.42 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.002945/0.002945, allocations: 101 kB / 0.7395 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1805, allocations: 95.39 MB / 0.8326 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1977/0.3782, allocations: 146.5 MB / 0.9757 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006865/0.3851, allocations: 5.175 MB / 0.9808 GB, free: 32 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.3854, allocations: 11.88 kB / 0.9808 GB, free: 20 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.4646/0.85, allocations: 93.88 kB / 0.9809 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.8503, allocations: 58.59 kB / 0.9809 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.8505, allocations: 37.53 kB / 0.981 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.8508, allocations: 212.7 kB / 0.9812 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.8509, allocations: 55.97 kB / 0.9812 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.8512, allocations: 104.1 kB / 0.9813 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.8513, allocations: 69.97 kB / 0.9814 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.8513, allocations: 9.531 kB / 0.9814 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.921e-05/0.8514, allocations: 9.875 kB / 0.9814 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.8514, allocations: 33.58 kB / 0.9814 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.8515, allocations: 53.91 kB / 0.9815 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.8517, allocations: 163.8 kB / 0.9817 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8517, allocations: 2.516 kB / 0.9817 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8517, allocations: 3.75 kB / 0.9817 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.8517, allocations: 0 / 0.9817 GB, free: 3.633 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.0005746/0.8523, allocations: 372.3 kB / 0.982 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.8523, allocations: 11.16 kB / 0.982 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.8524, allocations: 42.81 kB / 0.9821 GB, free: 19.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.8524, allocations: 18.05 kB / 0.9821 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.8527, allocations: 195.3 kB / 0.9823 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.8527, allocations: 8.703 kB / 0.9823 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.8528, allocations: 12.16 kB / 0.9823 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.853, allocations: 229.5 kB / 0.9825 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.853, allocations: 0 / 0.9825 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.8531, allocations: 11.89 kB / 0.9825 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.8531, allocations: 3.562 kB / 0.9825 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.8532, allocations: 70.83 kB / 0.9826 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.8541, allocations: 1.097 MB / 0.9837 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.8542, allocations: 169.6 kB / 0.9838 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.8542, allocations: 86.16 kB / 0.9839 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.8543, allocations: 75.94 kB / 0.984 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.8543, allocations: 108.6 kB / 0.9841 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.8543, allocations: 0.5 kB / 0.9841 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.092e-05/0.8544, allocations: 53.73 kB / 0.9841 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.726e-05/0.8545, allocations: 180.8 kB / 0.9843 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.8548, allocations: 253.3 kB / 0.9845 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.8548, allocations: 26.86 kB / 0.9846 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.8549, allocations: 133.6 kB / 0.9847 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.8549, allocations: 0.5625 kB / 0.9847 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.8549, allocations: 24.67 kB / 0.9847 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.855, allocations: 327.8 kB / 0.985 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.8551, allocations: 8.703 kB / 0.985 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.8552, allocations: 177.8 kB / 0.9852 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.152e-05/0.8552, allocations: 50.47 kB / 0.9853 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8552, allocations: 0 / 0.9853 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000146/0.8554, allocations: 84.25 kB / 0.9853 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.8554, allocations: 7.406 kB / 0.9853 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8554, allocations: 1.406 kB / 0.9853 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8554, allocations: 7.125 kB / 0.9854 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.8555, allocations: 11.72 kB / 0.9854 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8555, allocations: 2.453 kB / 0.9854 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.8555, allocations: 20.62 kB / 0.9854 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.8555, allocations: 3.5 kB / 0.9854 GB, free: 16.46 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.0001402/0.8557, allocations: 204.7 kB / 0.9856 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.8558, allocations: 123 kB / 0.9857 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.8558, allocations: 126.8 kB / 0.9858 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.011e-05/0.8559, allocations: 185.8 kB / 0.986 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.871e-05/0.856, allocations: 179.8 kB / 0.9862 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.678e-05/0.8561, allocations: 182.5 kB / 0.9863 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.8563, allocations: 412.2 kB / 0.9867 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/0.8564, allocations: 106.2 kB / 0.9868 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.8564, allocations: 105.9 kB / 0.9869 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.8565, allocations: 183.1 kB / 0.9871 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/0.8566, allocations: 185.8 kB / 0.9873 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.153e-05/0.8567, allocations: 181.8 kB / 0.9875 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-05/0.8567, allocations: 181.2 kB / 0.9876 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.8569, allocations: 318.8 kB / 0.9879 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.857, allocations: 120.4 kB / 0.9881 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.8571, allocations: 188.5 kB / 0.9882 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.8572, allocations: 105.7 kB / 0.9883 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.8573, allocations: 183.7 kB / 0.9885 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.8573, allocations: 102.3 kB / 0.9886 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001855/0.8575, allocations: 187.6 kB / 0.9888 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8575, allocations: 0.9375 kB / 0.9888 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002448/0.8578, allocations: 19.84 kB / 0.9888 GB, free: 13.09 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.0004328/0.8582, allocations: 0.8232 MB / 0.9896 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.811e-05/0.8583, allocations: 27.55 kB / 0.9896 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8583, allocations: 1.688 kB / 0.9896 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.564e-06/0.8583, allocations: 4.188 kB / 0.9896 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006423/0.8589, allocations: 0.5043 MB / 0.9901 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.8609, allocations: 2.053 MB / 0.9921 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.861, allocations: 104 kB / 0.9922 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.691e-05/0.8611, allocations: 23.72 kB / 0.9923 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.8611, allocations: 40.97 kB / 0.9923 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.8611, allocations: 0 / 0.9923 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.8926, allocations: 4.696 MB / 0.9969 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.01, allocations: 4.094 kB / 0.9969 GB, free: 9.367 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 & 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: 16.245805746875703] Failed to read output from testmodel.py, exit status != 0: 12.11924067279324 12.133459608 11.279165242 Calling exit ...