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.0008269/0.0008269, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001014/0.001014, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9985/0.9985, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8115/0.8115, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") translateModel(IDEAS.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.422e-05, allocations: 5.5 kB / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002159/0.002183, allocations: 1.526 MB / 481.5 MB, free: 5.402 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000279/0.002462, allocations: 116.4 kB / 481.7 MB, free: 5.289 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.002493, allocations: 0.7188 kB / 481.7 MB, free: 5.289 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.00254, allocations: 3.938 kB / 481.7 MB, free: 5.285 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.0026, allocations: 17.28 kB / 481.7 MB, free: 5.273 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.002796, allocations: 16.53 kB / 481.7 MB, free: 5.258 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.107e-05/0.002887, allocations: 52.38 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.898e-05/0.002966, allocations: 7.984 kB / 481.8 MB, free: 5.207 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.003027, allocations: 22.53 kB / 481.8 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.003067, allocations: 13.73 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.003083, allocations: 4.812 kB / 481.8 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.488e-05/0.003138, allocations: 19.98 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.003184, allocations: 19.11 kB / 481.8 MB, free: 5.137 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.003203, allocations: 18.06 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003305, allocations: 53.77 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003307, allocations: 0 / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003308, allocations: 0 / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.003311, allocations: 0 / 481.9 MB, free: 5.074 MB / 442.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.0002832/0.003595, allocations: 272.7 kB / 482.2 MB, free: 4.785 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.003624, allocations: 8.031 kB / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.003648, allocations: 8.922 kB / 482.2 MB, free: 4.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.106e-05/0.003719, allocations: 123 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.003728, allocations: 384 / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.003738, allocations: 1.281 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.003852, allocations: 69.77 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.003859, allocations: 6.609 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.003864, allocations: 384 / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003869, allocations: 384 / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.003893, allocations: 19.86 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.00409, allocations: 162.9 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.004151, allocations: 74.2 kB / 482.6 MB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.004166, allocations: 8.922 kB / 482.6 MB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.004278, allocations: 29.7 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.004301, allocations: 35.86 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.004302, allocations: 0 / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001114/0.004414, allocations: 50.64 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.004442, allocations: 51.91 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.004508, allocations: 133.2 kB / 482.9 MB, free: 3.926 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.004519, allocations: 27.08 kB / 483 MB, free: 3.895 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.004549, allocations: 88.12 kB / 483 MB, free: 3.805 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.004565, allocations: 11.84 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.004591, allocations: 18.77 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.004665, allocations: 314.8 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.00468, allocations: 6.828 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.004695, allocations: 4.75 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.004724, allocations: 19.61 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004726, allocations: 0.875 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.969e-05/0.004775, allocations: 47.23 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.004786, allocations: 4.594 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.00479, allocations: 0 / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.004802, allocations: 5.375 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.004866, allocations: 11.98 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.004868, allocations: 0 / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.004888, allocations: 4.781 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.004894, allocations: 4 kB / 483.5 MB, free: 3.34 MB / 442.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 5.248e-05/0.004946, allocations: 114.1 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.004961, allocations: 7.984 kB / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.005033, allocations: 49.62 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.005036, allocations: 4.781 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.005037, allocations: 0 / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.00504, allocations: 3.984 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.132e-05/0.005122, allocations: 78.52 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.005124, allocations: 3.938 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.005154, allocations: 12.92 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.005155, allocations: 0 / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.00516, allocations: 5.156 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005161, allocations: 0 / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.005163, allocations: 0 / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.337e-05/0.005246, allocations: 190.8 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.005256, allocations: 7.953 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.005264, allocations: 4.625 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.252e-05/0.005296, allocations: 4.625 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.005323, allocations: 7.984 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.005328, allocations: 8.5 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.802e-05/0.005346, allocations: 17.41 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005346, allocations: 0 / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001193/0.005465, allocations: 8.594 kB / 484 MB, free: 2.773 MB / 442.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.0001007/0.005566, allocations: 81.25 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.278e-05/0.005629, allocations: 18.09 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.005632, allocations: 4 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.005648, allocations: 12.8 kB / 484.1 MB, free: 2.648 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.005787, allocations: 20.55 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.006018, allocations: 145.4 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.00605, allocations: 63.28 kB / 484.3 MB, free: 2.379 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.916e-05/0.006069, allocations: 4.719 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.006115, allocations: 55.98 kB / 484.4 MB, free: 2.32 MB / 442.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006115, allocations: 1.906 kB / 484.4 MB, free: 2.32 MB / 442.7 MB Notification: Performance of Templates: time 0.002157/0.008272, allocations: 0.7873 MB / 485.2 MB, free: 1.578 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.660296219866723]