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.001335/0.001335, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001033/0.001033, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9024/0.9024, allocations: 230.6 MB / 256 MB, free: 9.605 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.754/0.754, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.0009555/0.0009555, allocations: 65.75 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4673, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001959/0.4693, allocations: 1.507 MB / 0.8193 GB, free: 16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003/0.4696, allocations: 116 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.4696, allocations: 3.688 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.4697, allocations: 5.297 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.4697, allocations: 4.594 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.4699, allocations: 29.64 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.607e-05/0.47, allocations: 43.16 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.4701, allocations: 9.344 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.4702, allocations: 16.36 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.4702, allocations: 27.69 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.4702, allocations: 4.656 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.4703, allocations: 15.98 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.4703, allocations: 17.48 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.4704, allocations: 17.22 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.4705, allocations: 61.75 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4705, allocations: 0 / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4705, allocations: 0 / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4705, allocations: 0 / 0.8196 GB, free: 15.81 MB / 0.6198 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.0003989/0.4709, allocations: 305.8 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.471, allocations: 10.31 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.471, allocations: 35.45 kB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.4712, allocations: 25.25 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/0.4713, allocations: 119.6 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4713, allocations: 384 / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.4713, allocations: 3.219 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.4715, allocations: 86.88 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4715, allocations: 7.875 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.4715, allocations: 0.6562 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.4715, allocations: 1.125 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.4717, allocations: 77.36 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.4721, allocations: 272 kB / 0.8205 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.4722, allocations: 74.47 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4723, allocations: 46.38 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.4723, allocations: 0 / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.4724, allocations: 31.17 kB / 0.8207 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4724, allocations: 0 / 0.8207 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003544/0.4727, allocations: 159.9 kB / 0.8208 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.4727, allocations: 51.41 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.4728, allocations: 128.5 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.4728, allocations: 25.7 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.4729, allocations: 92.23 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.4729, allocations: 12.23 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.4729, allocations: 19.77 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.473, allocations: 323.9 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.051e-05/0.4731, allocations: 40.23 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.4732, allocations: 39.09 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.4733, allocations: 87.56 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4733, allocations: 5.625 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001951/0.4735, allocations: 118.8 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4735, allocations: 4.562 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4735, allocations: 0 / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4736, allocations: 2.375 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.4736, allocations: 14.72 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4737, allocations: 8.438 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.4737, allocations: 13.98 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4737, allocations: 4.656 kB / 0.8218 GB, free: 14.11 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.534e-05/0.4738, allocations: 119.9 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.4738, allocations: 3.844 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.4738, allocations: 9.266 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4738, allocations: 2.562 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4738, allocations: 0.7969 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4738, allocations: 0 / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.4739, allocations: 151.9 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4739, allocations: 2.453 kB / 0.822 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.474, allocations: 15.2 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.474, allocations: 0 / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.474, allocations: 3.25 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.474, allocations: 0 / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.474, allocations: 4.734 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.4742, allocations: 218 kB / 0.8223 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.4743, allocations: 10.58 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.4743, allocations: 0.5156 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.4743, allocations: 16.48 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.4744, allocations: 4.203 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.4744, allocations: 1.062 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.4744, allocations: 102.3 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4744, allocations: 0 / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001393/0.4745, allocations: 12.25 kB / 0.8224 GB, free: 13.55 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.0003804/0.4749, allocations: 0.7444 MB / 0.8231 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.4751, allocations: 87.11 kB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4751, allocations: 0 / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.4752, allocations: 44.98 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.4754, allocations: 6.141 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.4758, allocations: 185.3 kB / 0.8234 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.4759, allocations: 72.48 kB / 0.8235 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.4759, allocations: 7.578 kB / 0.8235 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.4759, allocations: 17.92 kB / 0.8235 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.4759, allocations: 1.156 kB / 0.8235 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.4932, allocations: 2.425 MB / 0.8259 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.567, allocations: 9.203 kB / 0.8259 GB, free: 11.7 MB / 0.6198 GB " [Timeout remaining time 652] (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.399344487581402] Failed to read output from testmodel.py, exit status != 0: 7.643413701094687 7.655054446 7.181569678 Calling exit ...