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.001613/0.001613, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002099/0.002099, allocations: 217.1 kB / 22.25 MB, free: 5.082 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.039 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.8979/0.8979, allocations: 134 MB / 446.4 MB, free: 10.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",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.00196/0.00196, allocations: 70.08 kB / 0.6186 GB, free: 7.262 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1888, allocations: 85.9 MB / 0.7024 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002779/0.1916, allocations: 1.508 MB / 0.7039 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.1919, allocations: 116.5 kB / 0.704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.1919, allocations: 0 / 0.704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.158e-05/0.192, allocations: 7.922 kB / 0.704 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.1921, allocations: 7.922 kB / 0.704 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1923, allocations: 23.97 kB / 0.7041 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.163e-05/0.1924, allocations: 43.8 kB / 0.7041 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.1925, allocations: 11.92 kB / 0.7041 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.189e-05/0.1925, allocations: 19.94 kB / 0.7041 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.1926, allocations: 23.91 kB / 0.7042 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1926, allocations: 4 kB / 0.7042 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.951e-05/0.1926, allocations: 19.98 kB / 0.7042 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.1927, allocations: 15.98 kB / 0.7042 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.1927, allocations: 23.8 kB / 0.7042 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1929, allocations: 52.09 kB / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1929, allocations: 0 / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1929, allocations: 3.938 kB / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1929, allocations: 0 / 0.7043 GB, free: 15.55 MB / 0.5294 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.0005232/0.1934, allocations: 310 kB / 0.7046 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1934, allocations: 12.03 kB / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.1935, allocations: 38.69 kB / 0.7046 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.1935, allocations: 8.891 kB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1936, allocations: 126.4 kB / 0.7047 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1936, allocations: 384 / 0.7047 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1936, allocations: 4.375 kB / 0.7047 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.1939, allocations: 74.22 kB / 0.7048 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1939, allocations: 3.938 kB / 0.7048 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1939, allocations: 0 / 0.7048 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1939, allocations: 0 / 0.7048 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.1942, allocations: 79.84 kB / 0.7049 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.1946, allocations: 252 kB / 0.7051 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1948, allocations: 74.52 kB / 0.7052 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.195, allocations: 40.91 kB / 0.7053 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.1952, allocations: 35.97 kB / 0.7053 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1953, allocations: 34.56 kB / 0.7053 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1953, allocations: 3.938 kB / 0.7053 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005593/0.1958, allocations: 141.5 kB / 0.7055 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1959, allocations: 59.41 kB / 0.7055 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.196, allocations: 129 kB / 0.7056 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.196, allocations: 29.7 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.1961, allocations: 84.14 kB / 0.7057 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1961, allocations: 19.84 kB / 0.7058 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.1961, allocations: 13.7 kB / 0.7058 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1963, allocations: 318.8 kB / 0.7061 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.1964, allocations: 39.95 kB / 0.7061 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1966, allocations: 35.97 kB / 0.7062 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.1968, allocations: 84.64 kB / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1968, allocations: 0 / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003364/0.1972, allocations: 113.6 kB / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1972, allocations: 14.12 kB / 0.7064 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1972, allocations: 0 / 0.7064 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1972, allocations: 0 / 0.7064 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1974, allocations: 15.97 kB / 0.7064 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1974, allocations: 4 kB / 0.7064 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.1974, allocations: 11.98 kB / 0.7064 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1974, allocations: 4 kB / 0.7064 GB, free: 13.18 MB / 0.5294 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.206e-05/0.1975, allocations: 121.7 kB / 0.7065 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.1976, allocations: 0 / 0.7065 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.1979, allocations: 125.5 kB / 0.7066 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1979, allocations: 0 / 0.7066 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.198, allocations: 4 kB / 0.7066 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.198, allocations: 4 kB / 0.7066 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.1982, allocations: 148.7 kB / 0.7068 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1982, allocations: 4 kB / 0.7068 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.1983, allocations: 19.98 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1983, allocations: 0 / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1983, allocations: 0 / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1983, allocations: 0 / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1983, allocations: 7.984 kB / 0.7068 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.1987, allocations: 211.7 kB / 0.707 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.1987, allocations: 3.953 kB / 0.707 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1987, allocations: 4.047 kB / 0.707 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1988, allocations: 15.95 kB / 0.707 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.1988, allocations: 8 kB / 0.707 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1988, allocations: 0 / 0.707 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.824e-05/0.1989, allocations: 99.27 kB / 0.7071 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1989, allocations: 0 / 0.7071 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002316/0.1991, allocations: 15.98 kB / 0.7071 GB, free: 12.33 MB / 0.5294 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.0007893/0.1999, allocations: 0.7435 MB / 0.7079 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.2003, allocations: 79.92 kB / 0.708 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2003, allocations: 0 / 0.708 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.2004, allocations: 43.95 kB / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.2007, allocations: 7.938 kB / 0.708 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.2012, allocations: 187.1 kB / 0.7082 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.2015, allocations: 0.6999 MB / 0.7089 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.2016, allocations: 4 kB / 0.7089 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.2016, allocations: 19.44 kB / 0.7089 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.2016, allocations: 0 / 0.7089 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.2315, allocations: 2.004 MB / 0.7108 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.86, allocations: 6.328 kB / 0.7108 GB, free: 8.586 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 14.764483771003142] Failed to read output from testmodel.py, exit status != 0: 10.963088607997634 10.992524542 10.794445136 Calling exit ...