Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001099/0.001099, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001179/0.001179, allocations: 217.7 kB / 22.25 MB, free: 3.707 MB / 13.93 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 0.9385/0.9385, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8112/0.8112, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_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.000926/0.000926, allocations: 68.7 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5066, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002032/0.5086, allocations: 1.522 MB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000269/0.5089, allocations: 125.8 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.5089, allocations: 2.312 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.632e-05/0.509, allocations: 4.875 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.17e-05/0.5091, allocations: 6.562 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.5093, allocations: 22.47 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.5094, allocations: 43.88 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.5094, allocations: 13.03 kB / 0.8196 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/0.5095, allocations: 21.98 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.5095, allocations: 19.89 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.5096, allocations: 2.125 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.5096, allocations: 25.45 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.5097, allocations: 20.75 kB / 0.8196 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.5097, allocations: 18.08 kB / 0.8197 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.5098, allocations: 59.08 kB / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5098, allocations: 0.5625 kB / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5098, allocations: 4 kB / 0.8197 GB, free: 16 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.5098, allocations: 0 / 0.8197 GB, free: 16 kB / 0.6042 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.0004232/0.5103, allocations: 310.7 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5103, allocations: 6.438 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.5103, allocations: 34.19 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.5105, allocations: 28.09 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.5106, allocations: 122 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.5106, allocations: 384 / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.5106, allocations: 3.156 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.5108, allocations: 83.31 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5108, allocations: 3.938 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.5108, allocations: 1.375 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5108, allocations: 0 / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.511, allocations: 82.64 kB / 0.8204 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.5114, allocations: 266.2 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.5115, allocations: 81.27 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.864e-05/0.5116, allocations: 41.75 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.5116, allocations: 0.7031 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.5116, allocations: 34.12 kB / 0.8208 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.5116, allocations: 0 / 0.8208 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003478/0.512, allocations: 160.2 kB / 0.8209 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.512, allocations: 55.03 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.5121, allocations: 121.5 kB / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.5121, allocations: 30.61 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.5121, allocations: 92.12 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.5122, allocations: 15.22 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.5122, allocations: 21.3 kB / 0.8212 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.5123, allocations: 324.7 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.5124, allocations: 35.59 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.926e-05/0.5124, allocations: 40.73 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.5126, allocations: 89.69 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5126, allocations: 0 / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001902/0.5128, allocations: 114.2 kB / 0.8218 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5128, allocations: 6.234 kB / 0.8218 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5128, allocations: 0 / 0.8218 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5128, allocations: 0 / 0.8218 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.5129, allocations: 24.44 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5129, allocations: 0.5 kB / 0.8218 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.513, allocations: 12.73 kB / 0.8219 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.513, allocations: 4.609 kB / 0.8219 GB, free: 14.32 MB / 0.6198 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 6.116e-05/0.513, allocations: 119.1 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.513, allocations: 4.375 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.5131, allocations: 10.31 kB / 0.822 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.5131, allocations: 5.469 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5131, allocations: 3.938 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5131, allocations: 0.6562 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.5132, allocations: 159 kB / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5132, allocations: 1.672 kB / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.5133, allocations: 15.47 kB / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5133, allocations: 4.109 kB / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.5133, allocations: 0 / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.5133, allocations: 0 / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5133, allocations: 0.5156 kB / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.5135, allocations: 218.4 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.5135, allocations: 10.11 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.5135, allocations: 0 / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.5136, allocations: 16.38 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.5136, allocations: 10.62 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.5136, allocations: 0 / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.5137, allocations: 103.1 kB / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5137, allocations: 0 / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001449/0.5138, allocations: 7.344 kB / 0.8225 GB, free: 13.75 MB / 0.6198 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.0004166/0.5142, allocations: 0.7498 MB / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.5144, allocations: 90.77 kB / 0.8233 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5145, allocations: 0 / 0.8233 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.5145, allocations: 43.56 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.5147, allocations: 8.484 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.5151, allocations: 183.2 kB / 0.8236 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.5153, allocations: 0.6896 MB / 0.8242 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.5154, allocations: 11.09 kB / 0.8243 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.5154, allocations: 14.09 kB / 0.8243 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of SimCode: time 5e-07/0.5154, allocations: 0 / 0.8243 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.5347, allocations: 1.976 MB / 0.8262 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/7.158, allocations: 6.047 kB / 0.8262 GB, free: 11.69 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.136786634102464] Failed to read output from testmodel.py, exit status != 0: 7.233576043043286 7.246011206 6.733392157 Calling exit ...