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.001385/0.001385, allocations: 88.72 kB / 19.44 MB, free: 352 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.001499/0.001499, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 178] 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 1.295/1.295, allocations: 154.6 MB / 414.1 MB, free: 0.5781 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 178] 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.813e-06/1.813e-06, allocations: 0 / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.538e-05, allocations: 5.812 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002876/0.002901, allocations: 1.486 MB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003286/0.00323, allocations: 120.1 kB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.003258, allocations: 0 / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.79e-05/0.003306, allocations: 4.5 kB / 0.5212 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.003365, allocations: 12.38 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.003576, allocations: 25.17 kB / 0.5212 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.675e-05/0.003673, allocations: 47.84 kB / 0.5213 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.003746, allocations: 4 kB / 0.5213 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.003816, allocations: 24.81 kB / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.003863, allocations: 19.92 kB / 0.5213 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.003882, allocations: 4.594 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.739e-05/0.00395, allocations: 23.33 kB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.004, allocations: 19.97 kB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.004031, allocations: 11.94 kB / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.004183, allocations: 63.78 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004185, allocations: 0 / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004186, allocations: 0 / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.004189, allocations: 0 / 0.5214 GB, free: 0.6797 MB / 490.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.0005716/0.004761, allocations: 298.1 kB / 0.5217 GB, free: 364 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.004799, allocations: 12.72 kB / 0.5217 GB, free: 352 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.00485, allocations: 12.89 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.004978, allocations: 114.3 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.00499, allocations: 1.312 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.005002, allocations: 4.375 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.005273, allocations: 79.73 kB / 0.5219 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005281, allocations: 192 / 0.5219 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.005293, allocations: 4.359 kB / 0.5219 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.005297, allocations: 1.25 kB / 0.5219 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.005622, allocations: 81.86 kB / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.00603, allocations: 224.5 kB / 0.5222 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.006275, allocations: 67.12 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.006458, allocations: 50.12 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.006663, allocations: 33.97 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.006699, allocations: 30.56 kB / 0.5224 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.0067, allocations: 0 / 0.5224 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0006177/0.007317, allocations: 152.9 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.007365, allocations: 51.41 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.007502, allocations: 129.1 kB / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.007526, allocations: 25.7 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.007599, allocations: 98.84 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.007622, allocations: 7.938 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.007662, allocations: 17.72 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.007837, allocations: 314.8 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.008, allocations: 39.95 kB / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.008149, allocations: 33.91 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.008464, allocations: 89.64 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.008473, allocations: 4 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00036/0.008833, allocations: 107.2 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.008853, allocations: 9.156 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.008857, allocations: 4 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.008874, allocations: 0 / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.009004, allocations: 20.56 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.009008, allocations: 0 / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.265e-05/0.009091, allocations: 19.14 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.009098, allocations: 0 / 0.5235 GB, free: 14.44 MB / 0.4948 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 9.687e-05/0.009195, allocations: 109.8 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.009228, allocations: 7.953 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.009636, allocations: 128.7 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.009641, allocations: 4 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.009644, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.009647, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.009828, allocations: 121.7 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.009829, allocations: 0 / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.009932, allocations: 15.98 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009933, allocations: 1.812 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.00994, allocations: 0 / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.009947, allocations: 7.875 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009948, allocations: 0 / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.0104, allocations: 213.8 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.01042, allocations: 7.938 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.01043, allocations: 0 / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.01055, allocations: 16.8 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.0106, allocations: 3.984 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.01061, allocations: 0 / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003427/0.01095, allocations: 103.8 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01095, allocations: 1.5 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002516/0.0112, allocations: 8 kB / 0.5242 GB, free: 13.65 MB / 0.4948 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.0001827/0.01138, allocations: 99.23 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.01176, allocations: 82.05 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01176, allocations: 4 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.01193, allocations: 44.73 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.0122, allocations: 6.594 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.01261, allocations: 157.4 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.687e-05/0.0127, allocations: 71.33 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.01273, allocations: 14.77 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.01277, allocations: 8.5 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.01277, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.003741/0.01651, allocations: 0.853 MB / 0.5255 GB, free: 12.3 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.791046338970773]