Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.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.001262/0.001262, allocations: 105 kB / 20.48 MB, free: 1.48 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.001362/0.001362, allocations: 218 kB / 23.79 MB, free: 4.699 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.442/1.442, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9745/0.9745, allocations: 150 MB / 464 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002044/0.002044, allocations: 61.97 kB / 0.642 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1885, allocations: 89.17 MB / 0.7291 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001712/0.1902, allocations: 0.5311 MB / 0.7296 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001994/0.1904, allocations: 47.8 kB / 0.7297 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.1905, allocations: 0 / 0.7297 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.1905, allocations: 3.938 kB / 0.7297 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1906, allocations: 11.94 kB / 0.7297 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.066e-05/0.1907, allocations: 4 kB / 0.7297 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.1908, allocations: 11.98 kB / 0.7297 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.1908, allocations: 4 kB / 0.7297 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.1908, allocations: 7.922 kB / 0.7297 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.1909, allocations: 11.92 kB / 0.7297 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1909, allocations: 4 kB / 0.7297 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.1909, allocations: 0 / 0.7297 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.191, allocations: 4 kB / 0.7297 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.191, allocations: 11.92 kB / 0.7297 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.612e-05/0.1911, allocations: 8.281 kB / 0.7297 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1911, allocations: 0 / 0.7297 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1911, allocations: 3.938 kB / 0.7297 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1911, allocations: 0 / 0.7297 GB, free: 0.6367 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000464/0.1916, allocations: 262.3 kB / 0.73 GB, free: 360 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1916, allocations: 8.031 kB / 0.73 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.811e-05/0.1916, allocations: 192 / 0.73 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.657e-05/0.1917, allocations: 34.75 kB / 0.73 GB, free: 308 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.1917, allocations: 0.9375 kB / 0.73 GB, free: 308 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1919, allocations: 118.5 kB / 0.7301 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1919, allocations: 8.375 kB / 0.7302 GB, free: 156 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1919, allocations: 7.938 kB / 0.7302 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.845e-05/0.192, allocations: 37.62 kB / 0.7302 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.192, allocations: 0 / 0.7302 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.192, allocations: 0 / 0.7302 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.192, allocations: 0 / 0.7302 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.192, allocations: 7.984 kB / 0.7302 GB, free: 96 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.1922, allocations: 120.8 kB / 0.7303 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.018e-05/0.1922, allocations: 30.5 kB / 0.7304 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.1922, allocations: 4.859 kB / 0.7304 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1923, allocations: 0 / 0.7304 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1923, allocations: 38.56 kB / 0.7304 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1923, allocations: 0 / 0.7304 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.1924, allocations: 41.69 kB / 0.7304 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1925, allocations: 59.52 kB / 0.7305 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1926, allocations: 109.8 kB / 0.7306 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1926, allocations: 25.7 kB / 0.7306 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.1926, allocations: 80.14 kB / 0.7307 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1926, allocations: 11.95 kB / 0.7307 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.1927, allocations: 9.719 kB / 0.7307 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1928, allocations: 310.8 kB / 0.731 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.1928, allocations: 11.92 kB / 0.731 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.1929, allocations: 21.72 kB / 0.731 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.1929, allocations: 25.64 kB / 0.7311 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1929, allocations: 0 / 0.7311 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.187e-05/0.193, allocations: 53.56 kB / 0.7311 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.193, allocations: 8 kB / 0.7311 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.193, allocations: 0 / 0.7311 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.193, allocations: 8.062 kB / 0.7311 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.1931, allocations: 4 kB / 0.7311 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1931, allocations: 0 / 0.7311 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.1931, allocations: 0 / 0.7311 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1931, allocations: 4 kB / 0.7311 GB, free: 15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.009e-05/0.1932, allocations: 113.8 kB / 0.7313 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.1932, allocations: 3.953 kB / 0.7313 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.1933, allocations: 53.09 kB / 0.7313 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1933, allocations: 8.016 kB / 0.7313 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1933, allocations: 0 / 0.7313 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1933, allocations: 0 / 0.7313 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1934, allocations: 132.7 kB / 0.7314 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1934, allocations: 0 / 0.7314 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.1935, allocations: 7.984 kB / 0.7314 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1935, allocations: 0 / 0.7314 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1935, allocations: 256 / 0.7314 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1935, allocations: 4 kB / 0.7315 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1935, allocations: 0 / 0.7315 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1936, allocations: 81.06 kB / 0.7315 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.1936, allocations: 11.94 kB / 0.7315 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1937, allocations: 4.031 kB / 0.7315 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.1937, allocations: 0 / 0.7315 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.1937, allocations: 3.938 kB / 0.7315 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.1937, allocations: 0 / 0.7315 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.449e-05/0.1938, allocations: 91.27 kB / 0.7316 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1938, allocations: 0 / 0.7316 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001943/0.1939, allocations: 8.094 kB / 0.7316 GB, free: 14.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004226/0.1944, allocations: 0.6085 MB / 0.7322 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.1945, allocations: 19.92 kB / 0.7323 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1945, allocations: 224 / 0.7323 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.797e-05/0.1945, allocations: 8 kB / 0.7323 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.1946, allocations: 0 / 0.7323 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1957, allocations: 1.162 MB / 0.7334 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.196, allocations: 0.6768 MB / 0.7341 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.196, allocations: 11.92 kB / 0.7341 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.1961, allocations: 7.438 kB / 0.7341 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of SimCode: time 4.8e-07/0.1961, allocations: 0 / 0.7341 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.2184, allocations: 1.339 MB / 0.7354 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.26, allocations: 12.31 kB / 0.7354 GB, free: 10.57 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.077513434982393] Failed to read output from testmodel.py, exit status != 0: 11.426590054994449 11.459043081999999 11.262019285 Calling exit ...