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.001291/0.001291, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00142/0.00142, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8 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.002792/0.002792, allocations: 282 kB / 313.5 MB, free: 2.824 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.236/1.236, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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="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.002789/0.002789, allocations: 103.5 kB / 0.7403 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1998, allocations: 95.38 MB / 0.8335 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.6504/0.8501, allocations: 169.7 MB / 0.9992 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005741/0.8559, allocations: 5.799 MB / 1.005 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.8562, allocations: 10.81 kB / 1.005 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.8566, allocations: 97.44 kB / 1.005 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.8568, allocations: 58.56 kB / 1.005 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.857, allocations: 35.36 kB / 1.005 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.8574, allocations: 216.9 kB / 1.005 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.8576, allocations: 61.25 kB / 1.005 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.8578, allocations: 107.7 kB / 1.005 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.858, allocations: 68.84 kB / 1.005 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.8581, allocations: 11.34 kB / 1.006 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.26e-05/0.8581, allocations: 9.875 kB / 1.006 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.576e-05/0.8582, allocations: 34.56 kB / 1.006 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.8583, allocations: 71.53 kB / 1.006 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.8585, allocations: 158 kB / 1.006 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8585, allocations: 0.7031 kB / 1.006 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8585, allocations: 4.125 kB / 1.006 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.8585, allocations: 1.203 kB / 1.006 GB, free: 3.402 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.0008264/0.8594, allocations: 370.6 kB / 1.006 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.8594, allocations: 11.56 kB / 1.006 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.672e-05/0.8594, allocations: 3.609 kB / 1.006 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.8595, allocations: 49.62 kB / 1.006 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.8595, allocations: 17.44 kB / 1.006 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.8599, allocations: 194.4 kB / 1.006 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.8599, allocations: 11.59 kB / 1.006 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.8599, allocations: 10.72 kB / 1.006 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.8602, allocations: 169.6 kB / 1.007 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.8602, allocations: 1.531 kB / 1.007 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.8602, allocations: 5.531 kB / 1.007 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.8602, allocations: 5.812 kB / 1.007 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.8604, allocations: 72.34 kB / 1.007 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.8614, allocations: 1.12 MB / 1.008 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.8615, allocations: 170.8 kB / 1.008 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.8615, allocations: 82.02 kB / 1.008 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.8616, allocations: 79.53 kB / 1.008 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.8617, allocations: 114.2 kB / 1.008 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8617, allocations: 0 / 1.008 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.429e-05/0.8618, allocations: 44.64 kB / 1.008 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.8619, allocations: 182.8 kB / 1.008 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.8622, allocations: 251.7 kB / 1.009 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.8622, allocations: 25.7 kB / 1.009 GB, free: 17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.8623, allocations: 133 kB / 1.009 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.8623, allocations: 1.281 kB / 1.009 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.8624, allocations: 26.36 kB / 1.009 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.8625, allocations: 329.5 kB / 1.009 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.8626, allocations: 9.375 kB / 1.009 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/0.8626, allocations: 65.92 kB / 1.009 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.064e-05/0.8627, allocations: 54.02 kB / 1.009 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8627, allocations: 1.5 kB / 1.009 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.8629, allocations: 88.16 kB / 1.009 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.8629, allocations: 7.625 kB / 1.009 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.8629, allocations: 2.188 kB / 1.009 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8629, allocations: 2.688 kB / 1.009 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.863, allocations: 14.45 kB / 1.009 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.619e-06/0.863, allocations: 4.75 kB / 1.009 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.314e-05/0.8631, allocations: 14.47 kB / 1.009 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.8631, allocations: 3.438 kB / 1.009 GB, free: 16.41 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.00017/0.8633, allocations: 203.8 kB / 1.01 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.8634, allocations: 127.8 kB / 1.01 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.635e-05/0.8635, allocations: 121 kB / 1.01 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.812e-05/0.8635, allocations: 178.3 kB / 1.01 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-05/0.8636, allocations: 186.4 kB / 1.01 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.033e-05/0.8637, allocations: 185.9 kB / 1.01 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.864, allocations: 426.8 kB / 1.011 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-05/0.8641, allocations: 106.6 kB / 1.011 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.8641, allocations: 114.3 kB / 1.011 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.635e-05/0.8642, allocations: 179.6 kB / 1.011 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-05/0.8643, allocations: 184 kB / 1.011 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.512e-05/0.8644, allocations: 183.9 kB / 1.011 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-05/0.8645, allocations: 178.4 kB / 1.012 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.8647, allocations: 323 kB / 1.012 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/0.8648, allocations: 127.8 kB / 1.012 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.8649, allocations: 183.1 kB / 1.012 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.865, allocations: 105.8 kB / 1.012 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/0.8651, allocations: 178.4 kB / 1.013 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.8652, allocations: 113.1 kB / 1.013 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002273/0.8654, allocations: 182.6 kB / 1.013 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8654, allocations: 2 kB / 1.013 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002664/0.8657, allocations: 19.75 kB / 1.013 GB, free: 13.03 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.0004623/0.8661, allocations: 0.8197 MB / 1.014 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.8662, allocations: 22.38 kB / 1.014 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8662, allocations: 0 / 1.014 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.8662, allocations: 8.406 kB / 1.014 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.8669, allocations: 0.4971 MB / 1.014 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.8695, allocations: 2.042 MB / 1.016 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.8698, allocations: 0.7176 MB / 1.017 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.383e-05/0.8699, allocations: 21.52 kB / 1.017 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.87, allocations: 42.94 kB / 1.017 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.87, allocations: 0.6562 kB / 1.017 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.8957, allocations: 4.067 MB / 1.021 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.89, allocations: 15.28 kB / 1.021 GB, free: 9.148 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.168856788019184] Failed to read output from testmodel.py, exit status != 0: 12.051152680011 12.064168225 11.203052831 Calling exit ...