Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001303/0.001303, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.00141/0.00141, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.474/1.474, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8893/0.8893, allocations: 133.9 MB / 443.5 MB, free: 13.92 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002081/0.002081, allocations: 65.98 kB / 0.6141 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1793, allocations: 85.85 MB / 0.6979 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.00551/0.1848, allocations: 1.506 MB / 0.6994 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006188/0.1854, allocations: 116 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.1855, allocations: 1.375 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.583e-05/0.1856, allocations: 0 / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1857, allocations: 13.25 kB / 0.6995 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.186, allocations: 21.41 kB / 0.6996 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1862, allocations: 49.72 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1863, allocations: 12.11 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.1864, allocations: 21.42 kB / 0.6996 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.1865, allocations: 18.8 kB / 0.6997 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.1865, allocations: 2.75 kB / 0.6997 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.1866, allocations: 20.36 kB / 0.6997 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.1867, allocations: 14.67 kB / 0.6997 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.1868, allocations: 25.36 kB / 0.6997 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.187, allocations: 62.34 kB / 0.6998 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.187, allocations: 0 / 0.6998 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.734e-06/0.187, allocations: 0 / 0.6998 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.187, allocations: 1.375 kB / 0.6998 GB, free: 12.28 MB / 0.5137 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.0007762/0.1878, allocations: 384.5 kB / 0.7001 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.1878, allocations: 11.3 kB / 0.7002 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.014e-05/0.1879, allocations: 192 / 0.7002 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.1879, allocations: 36.12 kB / 0.7002 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.1879, allocations: 7.641 kB / 0.7002 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.1881, allocations: 180.3 kB / 0.7004 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1881, allocations: 1.75 kB / 0.7004 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1882, allocations: 5.75 kB / 0.7004 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1885, allocations: 76.09 kB / 0.7004 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1885, allocations: 0 / 0.7004 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1885, allocations: 0 / 0.7004 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1885, allocations: 1.375 kB / 0.7004 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.1889, allocations: 74.55 kB / 0.7005 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.1894, allocations: 289.6 kB / 0.7008 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.1896, allocations: 67.39 kB / 0.7009 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.1898, allocations: 46.81 kB / 0.7009 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.1901, allocations: 111.9 kB / 0.701 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1902, allocations: 30.56 kB / 0.701 GB, free: 11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.1902, allocations: 0 / 0.701 GB, free: 11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006792/0.1908, allocations: 151.4 kB / 0.7012 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.1909, allocations: 55.41 kB / 0.7012 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1911, allocations: 129.9 kB / 0.7014 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1911, allocations: 25.7 kB / 0.7014 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.1912, allocations: 90.86 kB / 0.7015 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1912, allocations: 16.7 kB / 0.7015 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.1913, allocations: 16.58 kB / 0.7015 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1914, allocations: 325.2 kB / 0.7018 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.1916, allocations: 36.95 kB / 0.7018 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.1918, allocations: 33.12 kB / 0.7019 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.1921, allocations: 91.52 kB / 0.702 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1921, allocations: 0 / 0.702 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003761/0.1925, allocations: 113.8 kB / 0.7021 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1925, allocations: 6 kB / 0.7021 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1925, allocations: 0 / 0.7021 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1925, allocations: 0 / 0.7021 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1926, allocations: 23.09 kB / 0.7021 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1926, allocations: 0 / 0.7021 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.1927, allocations: 10.89 kB / 0.7021 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1927, allocations: 5.938 kB / 0.7021 GB, free: 10.09 MB / 0.5137 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.0001099/0.1929, allocations: 117.9 kB / 0.7022 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.1929, allocations: 6.609 kB / 0.7022 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.1933, allocations: 125.6 kB / 0.7024 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1933, allocations: 0 / 0.7024 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1933, allocations: 1.219 kB / 0.7024 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1933, allocations: 0 / 0.7024 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.1936, allocations: 183.6 kB / 0.7025 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1936, allocations: 1.219 kB / 0.7025 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1937, allocations: 14.33 kB / 0.7025 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1937, allocations: 0 / 0.7025 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1937, allocations: 1.625 kB / 0.7026 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1937, allocations: 4 kB / 0.7026 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1937, allocations: 0 / 0.7026 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.1942, allocations: 206.1 kB / 0.7028 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.1942, allocations: 82.5 kB / 0.7028 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1942, allocations: 8.031 kB / 0.7028 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1943, allocations: 19.44 kB / 0.7029 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.1944, allocations: 5.25 kB / 0.7029 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.1944, allocations: 1.156 kB / 0.7029 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.969e-05/0.1945, allocations: 96.39 kB / 0.703 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1945, allocations: 0 / 0.703 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002371/0.1947, allocations: 14.11 kB / 0.703 GB, free: 9.273 MB / 0.5137 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.0008353/0.1955, allocations: 0.7428 MB / 0.7037 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.1959, allocations: 82.61 kB / 0.7038 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1959, allocations: 0 / 0.7038 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1961, allocations: 40.36 kB / 0.7038 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.1964, allocations: 8.125 kB / 0.7038 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.197, allocations: 192.5 kB / 0.704 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1973, allocations: 0.6922 MB / 0.7047 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.1974, allocations: 8 kB / 0.7047 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.1974, allocations: 15.44 kB / 0.7047 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1974, allocations: 0 / 0.7047 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.2169, allocations: 1.928 MB / 0.7066 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.396, allocations: 15.86 kB / 0.7066 GB, free: 5.727 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.232322510972153] Failed to read output from testmodel.py, exit status != 0: 8.809563515998889 8.550525854 8.35885771 Calling exit ...