Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.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.001477/0.001477, allocations: 105 kB / 20.48 MB, free: 1.488 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.001536/0.001536, allocations: 215.9 kB / 23.79 MB, free: 4.703 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.528/1.528, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.9742/0.9742, allocations: 150 MB / 464 MB, free: 10.54 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.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.002254/0.002254, allocations: 71.34 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1875, allocations: 89.17 MB / 0.7291 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002862/0.1904, allocations: 1.498 MB / 0.7306 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003088/0.1907, allocations: 115.6 kB / 0.7307 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.1907, allocations: 0 / 0.7307 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.1908, allocations: 11.92 kB / 0.7307 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.1908, allocations: 7.938 kB / 0.7307 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.1911, allocations: 23.97 kB / 0.7307 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.619e-05/0.1911, allocations: 43.8 kB / 0.7308 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.1912, allocations: 11.92 kB / 0.7308 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.1913, allocations: 16 kB / 0.7308 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.1913, allocations: 27.83 kB / 0.7308 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1914, allocations: 4 kB / 0.7308 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.1914, allocations: 23.98 kB / 0.7309 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.1915, allocations: 15.98 kB / 0.7309 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.1915, allocations: 19.88 kB / 0.7309 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1917, allocations: 63.95 kB / 0.731 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1917, allocations: 0 / 0.731 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1917, allocations: 0 / 0.731 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1917, allocations: 0 / 0.731 GB, free: 15.48 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005251/0.1922, allocations: 302 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1922, allocations: 12.03 kB / 0.7313 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.836e-05/0.1923, allocations: 4.188 kB / 0.7313 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.1923, allocations: 42.73 kB / 0.7313 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.1925, allocations: 24.88 kB / 0.7313 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1926, allocations: 130.3 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1926, allocations: 384 / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1927, allocations: 4.375 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.1929, allocations: 85.95 kB / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1929, allocations: 0 / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1929, allocations: 3.938 kB / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1929, allocations: 0 / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1933, allocations: 75.92 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.1937, allocations: 272 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1939, allocations: 70.52 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.1941, allocations: 44.91 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1941, allocations: 7.922 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.1942, allocations: 34.56 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1942, allocations: 0 / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000623/0.1948, allocations: 157.5 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.1949, allocations: 51.41 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.195, allocations: 133.5 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.195, allocations: 29.7 kB / 0.7324 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.1951, allocations: 84.14 kB / 0.7325 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1951, allocations: 19.84 kB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1951, allocations: 13.7 kB / 0.7325 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1953, allocations: 322.8 kB / 0.7328 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1954, allocations: 35.95 kB / 0.7328 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.1956, allocations: 51.89 kB / 0.7329 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1959, allocations: 80.77 kB / 0.733 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1959, allocations: 0 / 0.733 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003525/0.1962, allocations: 117.5 kB / 0.7331 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1963, allocations: 8 kB / 0.7331 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1963, allocations: 0 / 0.7331 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1963, allocations: 0 / 0.7331 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1964, allocations: 15.98 kB / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1964, allocations: 0 / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.1965, allocations: 15.97 kB / 0.7331 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1965, allocations: 4 kB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.45e-05/0.1966, allocations: 125.7 kB / 0.7332 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1967, allocations: 7.953 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.1967, allocations: 8 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1967, allocations: 0 / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1967, allocations: 0 / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1967, allocations: 0 / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1969, allocations: 160.6 kB / 0.7334 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1969, allocations: 0 / 0.7334 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.197, allocations: 23.98 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.197, allocations: 0 / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.197, allocations: 0 / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.197, allocations: 0 / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.197, allocations: 0 / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.1975, allocations: 219.3 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.1975, allocations: 7.953 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1975, allocations: 0 / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1976, allocations: 15.92 kB / 0.7337 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1976, allocations: 7.984 kB / 0.7337 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1977, allocations: 4 kB / 0.7337 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.176e-05/0.1977, allocations: 95.27 kB / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1977, allocations: 0 / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002192/0.1979, allocations: 8 kB / 0.7338 GB, free: 12.33 MB / 0.5606 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 (3): * Single equations (assignments): 3 * 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.0007236/0.1987, allocations: 0.7518 MB / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.199, allocations: 91.83 kB / 0.7346 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.199, allocations: 0 / 0.7346 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.1992, allocations: 39.95 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1994, allocations: 8 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.1999, allocations: 191 kB / 0.7348 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.2003, allocations: 0.6923 MB / 0.7355 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.2003, allocations: 4 kB / 0.7355 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.2003, allocations: 11.44 kB / 0.7355 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.2003, allocations: 0 / 0.7355 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.2229, allocations: 2.003 MB / 0.7375 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.35, allocations: 4.938 kB / 0.7375 GB, free: 8.609 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.300038710003719] Failed to read output from testmodel.py, exit status != 0: 11.509603238024283 11.527195751 11.332104729 Calling exit ...