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.001056/0.001056, allocations: 101.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.001085/0.001085, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9541/0.9541, allocations: 230.6 MB / 256 MB, free: 9.598 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.8141/0.8141, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0009292/0.0009292, allocations: 66.22 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4856, 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.001769/0.4873, allocations: 1.502 MB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.4876, allocations: 116.1 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.4877, allocations: 0 / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.4877, allocations: 9.156 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.4878, allocations: 11.62 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.488, allocations: 25.98 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.4881, allocations: 36.78 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.4881, allocations: 12.66 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.4882, allocations: 19.33 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.4882, allocations: 18.38 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.4882, allocations: 3.094 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.4883, allocations: 24.8 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.4884, allocations: 23.08 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.4884, allocations: 16.58 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.4885, allocations: 52.83 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4885, allocations: 0 / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4885, allocations: 1.625 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.4885, allocations: 3.938 kB / 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.0003717/0.4889, allocations: 305.7 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.4889, allocations: 9.469 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.4889, allocations: 31.45 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.4891, allocations: 30.2 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/0.4892, allocations: 122.4 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-06/0.4892, allocations: 384 / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.4892, allocations: 5.906 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.4894, allocations: 79.2 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4894, allocations: 5.75 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4894, allocations: 0.6562 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4894, allocations: 7.938 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.4896, allocations: 80.61 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.4899, allocations: 256.4 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.4901, allocations: 72.39 kB / 0.8206 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.4901, allocations: 50.94 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.4902, allocations: 2.562 kB / 0.8206 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.4902, allocations: 36.19 kB / 0.8207 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.4902, allocations: 0 / 0.8207 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003438/0.4905, allocations: 157.2 kB / 0.8208 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.4905, allocations: 53.19 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.4906, allocations: 127.2 kB / 0.821 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.4906, allocations: 31.67 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.4907, allocations: 91.81 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.4907, allocations: 10.98 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.4907, allocations: 18.05 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.4908, allocations: 318 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.4909, allocations: 40.81 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.491, allocations: 37.81 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4911, allocations: 94.06 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4911, allocations: 0 / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001891/0.4913, allocations: 118.8 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.4913, allocations: 5.719 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4913, allocations: 3.938 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4913, allocations: 0 / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.4914, allocations: 20.94 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4914, allocations: 0 / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.4915, allocations: 15.42 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.4915, allocations: 0 / 0.8218 GB, free: 14.12 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 5.83e-05/0.4915, allocations: 123.2 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.4916, allocations: 1.969 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.4916, allocations: 13.44 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4916, allocations: 0.9375 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4916, allocations: 0 / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4916, allocations: 3.688 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.4917, allocations: 147.4 kB / 0.822 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4917, allocations: 0 / 0.822 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.4918, allocations: 14.03 kB / 0.822 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4918, allocations: 4 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4918, allocations: 7.828 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.4918, allocations: 0 / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4918, allocations: 0 / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.492, allocations: 209.5 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.492, allocations: 15.3 kB / 0.8223 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.492, allocations: 4.797 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.4921, allocations: 16.62 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.4921, allocations: 3.359 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.4921, allocations: 1.688 kB / 0.8223 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.4922, allocations: 105.4 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4922, allocations: 0 / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001549/0.4923, allocations: 8.625 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.0003979/0.4927, allocations: 0.7424 MB / 0.8231 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.4929, allocations: 84.88 kB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4929, allocations: 1.062 kB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.651e-05/0.493, allocations: 45.5 kB / 0.8233 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.4932, allocations: 11 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.0003787/0.4936, allocations: 187 kB / 0.8234 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.608e-05/0.4936, allocations: 73.22 kB / 0.8235 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.4937, allocations: 6.469 kB / 0.8235 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.4937, allocations: 19.69 kB / 0.8235 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.4937, allocations: 3.938 kB / 0.8235 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.5097, allocations: 2.432 MB / 0.8259 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.69/7.2, allocations: 7.562 kB / 0.8259 GB, free: 11.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.09068509703502] Failed to read output from testmodel.py, exit status != 0: 7.275822752621025 7.288128326 6.797127729 Calling exit ...