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.001323/0.001323, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001419/0.001419, allocations: 215.1 kB / 23.78 MB, free: 4.555 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.508/1.508, allocations: 230.6 MB / 257.6 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.9737/0.9737, allocations: 150 MB / 463.9 MB, free: 10.21 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.002067/0.002067, allocations: 63.75 kB / 0.642 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1806, allocations: 89.17 MB / 0.729 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002956/0.1836, allocations: 1.486 MB / 0.7305 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.1839, allocations: 115.7 kB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.1839, allocations: 0 / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.876e-05/0.184, allocations: 3.938 kB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.1841, allocations: 3.938 kB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1843, allocations: 27.91 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1844, allocations: 43.84 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.1845, allocations: 11.98 kB / 0.7307 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.1846, allocations: 19.92 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.1846, allocations: 23.92 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1846, allocations: 4 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.1847, allocations: 23.98 kB / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.1847, allocations: 11.98 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.1848, allocations: 19.86 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1849, allocations: 63.95 kB / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1849, allocations: 0 / 0.7308 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1849, allocations: 4 kB / 0.7309 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1849, allocations: 0 / 0.7309 GB, free: 14.96 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.0005344/0.1855, allocations: 310 kB / 0.7311 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1855, allocations: 8.031 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.1855, allocations: 192 / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.1856, allocations: 34.75 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.1858, allocations: 20.88 kB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1859, allocations: 126.4 kB / 0.7313 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1859, allocations: 4.375 kB / 0.7313 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1859, allocations: 4.312 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.1862, allocations: 89.89 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1862, allocations: 0 / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1862, allocations: 3.984 kB / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1863, allocations: 0 / 0.7314 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.1866, allocations: 79.91 kB / 0.7315 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.187, allocations: 264 kB / 0.7318 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.1873, allocations: 70.47 kB / 0.7318 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1874, allocations: 44.91 kB / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1874, allocations: 0 / 0.7319 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1875, allocations: 42.48 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1875, allocations: 0 / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005865/0.1881, allocations: 153.5 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.1881, allocations: 59.39 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1882, allocations: 125.8 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1883, allocations: 25.7 kB / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.1883, allocations: 88.12 kB / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1884, allocations: 23.83 kB / 0.7324 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.1884, allocations: 17.72 kB / 0.7324 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1885, allocations: 326.7 kB / 0.7327 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.1887, allocations: 35.95 kB / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1889, allocations: 43.95 kB / 0.7328 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1891, allocations: 80.78 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1891, allocations: 4 kB / 0.7328 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003425/0.1895, allocations: 109.6 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.1895, allocations: 4 kB / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1895, allocations: 0 / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1895, allocations: 0 / 0.733 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1897, allocations: 19.97 kB / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.1897, allocations: 7.938 kB / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.086e-05/0.1898, allocations: 11.98 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1898, allocations: 0 / 0.733 GB, free: 12.57 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 0.0001025/0.1899, allocations: 119.8 kB / 0.7331 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1899, allocations: 11.94 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.19, allocations: 8 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.19, allocations: 4 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.19, allocations: 0 / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.19, allocations: 0 / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1902, allocations: 152.7 kB / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1902, allocations: 0 / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1903, allocations: 15.98 kB / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1903, allocations: 0 / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.1903, allocations: 3.938 kB / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1903, allocations: 0 / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1903, allocations: 0 / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.1907, allocations: 235.5 kB / 0.7335 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.1907, allocations: 7.953 kB / 0.7335 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1907, allocations: 0 / 0.7335 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1909, allocations: 11.98 kB / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1909, allocations: 3.984 kB / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1909, allocations: 0 / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.684e-05/0.191, allocations: 103 kB / 0.7336 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.191, allocations: 0 / 0.7336 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002253/0.1912, allocations: 12 kB / 0.7336 GB, free: 11.82 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.0007415/0.192, allocations: 0.7475 MB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.1923, allocations: 83.84 kB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1923, allocations: 0 / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.1925, allocations: 47.95 kB / 0.7345 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1927, allocations: 10.34 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.1933, allocations: 191 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.136e-05/0.1934, allocations: 71.33 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.722e-05/0.1934, allocations: 4 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.1935, allocations: 19.44 kB / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1935, allocations: 0 / 0.7348 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.2168, allocations: 2.059 MB / 0.7368 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.52, allocations: 0.9375 kB / 0.7368 GB, free: 8.672 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.457332079997286] Failed to read output from testmodel.py, exit status != 0: 11.690627594012767 11.712728171 11.524289492 Calling exit ...