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.001408/0.001408, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.001588/0.001588, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.546/1.546, allocations: 177.2 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.21/1.21, allocations: 154.8 MB / 414.4 MB, free: 452 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0.875 kB / 0.5198 GB, free: 1.207 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.413e-05, allocations: 6.234 kB / 0.5199 GB, free: 1.203 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.00426/0.004294, allocations: 1.508 MB / 0.5213 GB, free: 15.71 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004593/0.004753, allocations: 111.7 kB / 0.5214 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.004788, allocations: 4.766 kB / 0.5214 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.525e-05/0.004853, allocations: 4.875 kB / 0.5214 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.004919, allocations: 3.062 kB / 0.5214 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.005172, allocations: 33.12 kB / 0.5215 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.005288, allocations: 39.86 kB / 0.5215 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.005383, allocations: 11.98 kB / 0.5215 GB, free: 15.51 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/0.005475, allocations: 25.25 kB / 0.5215 GB, free: 15.49 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.005555, allocations: 19.91 kB / 0.5216 GB, free: 15.47 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.005576, allocations: 4 kB / 0.5216 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.005667, allocations: 20.8 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.005716, allocations: 8 kB / 0.5216 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.005761, allocations: 17.2 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.00596, allocations: 67.78 kB / 0.5217 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.005963, allocations: 0 / 0.5217 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.005964, allocations: 0 / 0.5217 GB, free: 15.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005969, allocations: 5.281 kB / 0.5217 GB, free: 15.35 MB / 458.7 MB 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.0008963/0.006865, allocations: 302 kB / 0.522 GB, free: 15.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.006908, allocations: 8.812 kB / 0.522 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.007274, allocations: 34.72 kB / 0.522 GB, free: 14.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.007456, allocations: 117.7 kB / 0.5221 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.007472, allocations: 384 / 0.5221 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.00749, allocations: 4.375 kB / 0.5221 GB, free: 14.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.007901, allocations: 80.27 kB / 0.5222 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.007912, allocations: 192 / 0.5222 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.007926, allocations: 384 / 0.5222 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.007931, allocations: 384 / 0.5222 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/0.008477, allocations: 90.22 kB / 0.5223 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.009088, allocations: 237.5 kB / 0.5225 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.009469, allocations: 75.5 kB / 0.5226 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.009754, allocations: 49.41 kB / 0.5226 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.009774, allocations: 0.8125 kB / 0.5226 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.009816, allocations: 30.56 kB / 0.5227 GB, free: 14.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.009817, allocations: 1.219 kB / 0.5227 GB, free: 14.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0009703/0.01079, allocations: 163.7 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.01085, allocations: 51.41 kB / 0.5229 GB, free: 14.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.01103, allocations: 132.5 kB / 0.523 GB, free: 13.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.01106, allocations: 27.42 kB / 0.523 GB, free: 13.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.01116, allocations: 96.09 kB / 0.5231 GB, free: 13.75 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.01119, allocations: 7.938 kB / 0.5231 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.01126, allocations: 13.72 kB / 0.5231 GB, free: 13.72 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.0115, allocations: 318.8 kB / 0.5234 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.01177, allocations: 41.42 kB / 0.5235 GB, free: 13.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.01201, allocations: 40.64 kB / 0.5235 GB, free: 13.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.01253, allocations: 90.17 kB / 0.5236 GB, free: 13.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01253, allocations: 0.8125 kB / 0.5236 GB, free: 13.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006282/0.01316, allocations: 118.7 kB / 0.5237 GB, free: 13.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.01319, allocations: 14.75 kB / 0.5237 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01319, allocations: 0 / 0.5237 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.01322, allocations: 0 / 0.5237 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.01344, allocations: 15.98 kB / 0.5238 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.01345, allocations: 4 kB / 0.5238 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.0136, allocations: 15.97 kB / 0.5238 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01361, allocations: 2.75 kB / 0.5238 GB, free: 13.06 MB / 458.7 MB 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.0001474/0.01376, allocations: 113.8 kB / 0.5239 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.01382, allocations: 7.953 kB / 0.5239 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.01386, allocations: 11.94 kB / 0.5239 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01387, allocations: 0 / 0.5239 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.01388, allocations: 3.984 kB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01388, allocations: 8.781 kB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.01417, allocations: 121.3 kB / 0.524 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01417, allocations: 0 / 0.524 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.01436, allocations: 16.97 kB / 0.524 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01436, allocations: 4.875 kB / 0.5241 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.01437, allocations: 0 / 0.5241 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.01438, allocations: 3.938 kB / 0.5241 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01438, allocations: 1.375 kB / 0.5241 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.01508, allocations: 212.9 kB / 0.5243 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.0151, allocations: 0 / 0.5243 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.01512, allocations: 0 / 0.5243 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.01534, allocations: 20.91 kB / 0.5243 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.01539, allocations: 4.688 kB / 0.5243 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.0154, allocations: 0 / 0.5243 GB, free: 12.49 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.01552, allocations: 103.8 kB / 0.5244 GB, free: 12.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01552, allocations: 5.438 kB / 0.5244 GB, free: 12.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.01597, allocations: 11.94 kB / 0.5244 GB, free: 12.37 MB / 458.7 MB 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.0001621/0.01613, allocations: 91.25 kB / 0.5245 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005949/0.01672, allocations: 90.33 kB / 0.5246 GB, free: 12.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01673, allocations: 3.938 kB / 0.5246 GB, free: 12.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.01702, allocations: 46.7 kB / 0.5246 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.01745, allocations: 10.39 kB / 0.5246 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.01798, allocations: 148.4 kB / 0.5248 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.0181, allocations: 76.38 kB / 0.5248 GB, free: 11.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.72e-05/0.01816, allocations: 4.906 kB / 0.5248 GB, free: 11.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.01822, allocations: 8.5 kB / 0.5249 GB, free: 11.86 MB / 458.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01822, allocations: 2.875 kB / 0.5249 GB, free: 11.86 MB / 458.7 MB Notification: Performance of Templates: time 0.004935/0.02315, allocations: 0.8309 MB / 0.5257 GB, free: 11.05 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.749050116050057]