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.001783/0.001783, 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.002218/0.002218, allocations: 209.3 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.77 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.002546/0.002546, allocations: 299.9 kB / 312.7 MB, free: 2.582 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.275/1.275, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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.002932/0.002932, allocations: 99.91 kB / 0.7395 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1843, allocations: 95.38 MB / 0.8326 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.1893/0.3736, allocations: 146.5 MB / 0.9757 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006087/0.3797, allocations: 5.175 MB / 0.9808 GB, free: 52 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.3799, allocations: 11.94 kB / 0.9808 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.4779/0.8578, allocations: 91.03 kB / 0.9809 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.8581, allocations: 61.84 kB / 0.9809 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.8583, allocations: 36.02 kB / 0.981 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.8586, allocations: 215.4 kB / 0.9812 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.8588, allocations: 50.94 kB / 0.9812 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.859, allocations: 102.6 kB / 0.9813 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.8591, allocations: 71.58 kB / 0.9814 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.8592, allocations: 10.03 kB / 0.9814 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.8592, allocations: 9.531 kB / 0.9814 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.8592, allocations: 34.08 kB / 0.9814 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.8593, allocations: 57.41 kB / 0.9815 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.8596, allocations: 160.9 kB / 0.9817 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8596, allocations: 1.094 kB / 0.9817 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8596, allocations: 1.031 kB / 0.9817 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.8596, allocations: 0.6094 kB / 0.9817 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.0006889/0.8603, allocations: 379.5 kB / 0.982 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.8603, allocations: 13.19 kB / 0.982 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.8604, allocations: 44.42 kB / 0.9821 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.8604, allocations: 17.62 kB / 0.9821 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.8607, allocations: 195.4 kB / 0.9823 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.8608, allocations: 9.094 kB / 0.9823 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.8608, allocations: 12.78 kB / 0.9823 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.8611, allocations: 221.6 kB / 0.9825 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8611, allocations: 5.375 kB / 0.9825 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.8611, allocations: 7.859 kB / 0.9825 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.8611, allocations: 3.75 kB / 0.9825 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.8612, allocations: 67.27 kB / 0.9826 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009209/0.8621, allocations: 1.097 MB / 0.9837 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.714e-05/0.8622, allocations: 170.4 kB / 0.9838 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.8623, allocations: 85.25 kB / 0.9839 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.8623, allocations: 76.59 kB / 0.984 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.456e-05/0.8624, allocations: 108.7 kB / 0.9841 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.8624, allocations: 0.5 kB / 0.9841 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.198e-05/0.8625, allocations: 52.75 kB / 0.9841 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.8626, allocations: 180.8 kB / 0.9843 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.8629, allocations: 254.3 kB / 0.9845 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.8629, allocations: 30.36 kB / 0.9846 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.863, allocations: 133 kB / 0.9847 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-06/0.863, allocations: 1.688 kB / 0.9847 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.863, allocations: 21.66 kB / 0.9847 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.8632, allocations: 328.7 kB / 0.985 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.8632, allocations: 10.36 kB / 0.985 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.8633, allocations: 170.4 kB / 0.9852 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.669e-05/0.8634, allocations: 50.95 kB / 0.9853 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8634, allocations: 0.9688 kB / 0.9853 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000162/0.8635, allocations: 85.91 kB / 0.9853 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8635, allocations: 5.219 kB / 0.9853 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8636, allocations: 1.719 kB / 0.9853 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8636, allocations: 7.734 kB / 0.9854 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.8636, allocations: 8.484 kB / 0.9854 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.8636, allocations: 2.047 kB / 0.9854 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/0.8637, allocations: 21.47 kB / 0.9854 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.8637, allocations: 6.562 kB / 0.9854 GB, free: 16.51 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.0001479/0.8639, allocations: 212.1 kB / 0.9856 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.94e-05/0.864, allocations: 122.9 kB / 0.9857 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/0.864, allocations: 128.5 kB / 0.9858 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.347e-05/0.8641, allocations: 180.1 kB / 0.986 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/0.8642, allocations: 181.8 kB / 0.9862 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.278e-05/0.8643, allocations: 178.8 kB / 0.9864 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.8647, allocations: 417.7 kB / 0.9867 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.818e-05/0.8647, allocations: 104.1 kB / 0.9868 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.8648, allocations: 106.2 kB / 0.987 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.511e-05/0.8649, allocations: 184 kB / 0.9871 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.991e-05/0.865, allocations: 185.2 kB / 0.9873 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.034e-05/0.865, allocations: 180.1 kB / 0.9875 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.776e-05/0.8651, allocations: 181.5 kB / 0.9876 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.8654, allocations: 321.3 kB / 0.988 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.8655, allocations: 119 kB / 0.9881 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.8656, allocations: 187 kB / 0.9882 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.8657, allocations: 104.4 kB / 0.9883 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.8658, allocations: 183.2 kB / 0.9885 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.8659, allocations: 103.9 kB / 0.9886 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002061/0.8661, allocations: 185.6 kB / 0.9888 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8661, allocations: 0 / 0.9888 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002588/0.8663, allocations: 20.94 kB / 0.9888 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.0004996/0.8668, allocations: 0.8279 MB / 0.9896 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.8669, allocations: 26.52 kB / 0.9896 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8669, allocations: 0.9375 kB / 0.9897 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.8669, allocations: 0.875 kB / 0.9897 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.0006953/0.8676, allocations: 0.5043 MB / 0.9901 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.8697, allocations: 2.042 MB / 0.9921 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.8698, allocations: 108.2 kB / 0.9922 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.271e-05/0.8699, allocations: 20.95 kB / 0.9923 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.87, allocations: 39.34 kB / 0.9923 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.87, allocations: 1 kB / 0.9923 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.9014, allocations: 4.694 MB / 0.9969 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.82, allocations: 15.16 kB / 0.9969 GB, free: 9.414 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.073063270188868] Failed to read output from testmodel.py, exit status != 0: 11.929224028252065 11.943041739 11.080974577 Calling exit ...