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.001844/0.001844, allocations: 93.91 kB / 20.48 MB, free: 1.359 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.001494/0.001494, allocations: 215.3 kB / 23.78 MB, free: 4.516 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.9484/0.9484, allocations: 150 MB / 464 MB, free: 10.23 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.002051/0.002051, allocations: 62.84 kB / 0.6419 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1881, allocations: 89.18 MB / 0.729 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.001687/0.1898, allocations: 0.5134 MB / 0.7295 GB, free: 348 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00018/0.19, allocations: 43.77 kB / 0.7296 GB, free: 304 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.1901, allocations: 0 / 0.7296 GB, free: 304 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.1901, allocations: 0 / 0.7296 GB, free: 304 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1902, allocations: 7.938 kB / 0.7296 GB, free: 296 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.162e-05/0.1903, allocations: 15.97 kB / 0.7296 GB, free: 280 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.1904, allocations: 4 kB / 0.7296 GB, free: 276 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.1904, allocations: 0 / 0.7296 GB, free: 276 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.1904, allocations: 11.92 kB / 0.7296 GB, free: 264 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.1905, allocations: 11.94 kB / 0.7296 GB, free: 252 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1905, allocations: 0 / 0.7296 GB, free: 252 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.1905, allocations: 0 / 0.7296 GB, free: 252 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/0.1906, allocations: 11.98 kB / 0.7296 GB, free: 240 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.1906, allocations: 7.922 kB / 0.7296 GB, free: 232 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.58e-05/0.1907, allocations: 8 kB / 0.7297 GB, free: 224 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.1907, allocations: 3.984 kB / 0.7297 GB, free: 220 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1907, allocations: 0 / 0.7297 GB, free: 220 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1907, allocations: 0 / 0.7297 GB, free: 220 kB / 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.0004416/0.1911, allocations: 258.6 kB / 0.7299 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1912, allocations: 8.031 kB / 0.7299 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.911e-05/0.1912, allocations: 4.172 kB / 0.7299 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.776e-05/0.1912, allocations: 30.75 kB / 0.7299 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.1912, allocations: 8.938 kB / 0.73 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.1914, allocations: 122.5 kB / 0.7301 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1914, allocations: 384 / 0.7301 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1914, allocations: 7.938 kB / 0.7301 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/0.1915, allocations: 37.62 kB / 0.7301 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1915, allocations: 3.938 kB / 0.7301 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1915, allocations: 3.938 kB / 0.7301 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1915, allocations: 0 / 0.7301 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.1915, allocations: 4 kB / 0.7301 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.1917, allocations: 124.8 kB / 0.7302 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.314e-05/0.1918, allocations: 26.52 kB / 0.7303 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.1918, allocations: 4.859 kB / 0.7303 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1918, allocations: 0 / 0.7303 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.1918, allocations: 38.56 kB / 0.7303 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1918, allocations: 0 / 0.7303 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.192, allocations: 45.67 kB / 0.7304 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.192, allocations: 51.41 kB / 0.7304 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.1921, allocations: 109.8 kB / 0.7305 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1921, allocations: 25.7 kB / 0.7305 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.1921, allocations: 88.14 kB / 0.7306 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1922, allocations: 8.078 kB / 0.7306 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.1922, allocations: 13.72 kB / 0.7306 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1923, allocations: 314.8 kB / 0.7309 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.1923, allocations: 8 kB / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.1924, allocations: 17.66 kB / 0.731 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.1924, allocations: 21.7 kB / 0.731 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1924, allocations: 0 / 0.731 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.827e-05/0.1925, allocations: 53.56 kB / 0.731 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1925, allocations: 8.125 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1925, allocations: 0 / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1925, allocations: 4 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.1926, allocations: 0 / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1926, allocations: 4 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.1926, allocations: 3.984 kB / 0.7311 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1926, allocations: 0 / 0.7311 GB, free: 14.58 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 7.952e-05/0.1927, allocations: 115.8 kB / 0.7312 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.1927, allocations: 3.953 kB / 0.7312 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.1928, allocations: 57.09 kB / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1928, allocations: 0 / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1928, allocations: 0 / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1928, allocations: 0 / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.193, allocations: 136.6 kB / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.193, allocations: 0 / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.193, allocations: 8.234 kB / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.193, allocations: 0 / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.193, allocations: 4 kB / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.193, allocations: 0 / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.193, allocations: 0 / 0.7314 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.1932, allocations: 93.02 kB / 0.7315 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.1932, allocations: 7.938 kB / 0.7315 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.1932, allocations: 4.031 kB / 0.7315 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.1932, allocations: 0 / 0.7315 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.1932, allocations: 3.938 kB / 0.7315 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.1932, allocations: 0 / 0.7315 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.1933, allocations: 91.27 kB / 0.7316 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1933, allocations: 0 / 0.7316 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001932/0.1935, allocations: 4 kB / 0.7316 GB, free: 13.98 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.0004116/0.1939, allocations: 0.6165 MB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.194, allocations: 15.92 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.194, allocations: 0 / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.35e-05/0.194, allocations: 4 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.1941, allocations: 10.84 kB / 0.7322 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1952, allocations: 1.154 MB / 0.7333 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.75e-05/0.1952, allocations: 63.34 kB / 0.7334 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.1952, allocations: 8.188 kB / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.1953, allocations: 11.42 kB / 0.7334 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1953, allocations: 0 / 0.7334 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.2185, allocations: 1.353 MB / 0.7347 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.33, allocations: 19.95 kB / 0.7347 GB, free: 10.75 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.201082712970674] Failed to read output from testmodel.py, exit status != 0: 11.497117456048727 11.532046867 11.335130752 Calling exit ...