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.001452/0.001452, allocations: 92.22 kB / 19.65 MB, free: 280 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.001204/0.001204, allocations: 169 kB / 23.02 MB, free: 1.555 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.058/1.058, allocations: 177.1 MB / 203.4 MB, free: 5.25 MB / 186.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-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 0.7695/0.7695, allocations: 154.8 MB / 414.7 MB, free: 428 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 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: 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 1.193e-06/1.193e-06, allocations: 0 / 0.5206 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.666e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.001747/0.001763, allocations: 1.534 MB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002737/0.002037, allocations: 121.8 kB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.002069, allocations: 0 / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.195e-05/0.002121, allocations: 3.938 kB / 0.5222 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.002177, allocations: 5.297 kB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.002394, allocations: 29.19 kB / 0.5222 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.464e-05/0.002469, allocations: 43.84 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.002554, allocations: 11.98 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.002608, allocations: 25.27 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.002785, allocations: 15.97 kB / 0.5223 GB, free: 120 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.0028, allocations: 4 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.002857, allocations: 19.98 kB / 0.5223 GB, free: 96 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.002898, allocations: 12.72 kB / 0.5223 GB, free: 84 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.002919, allocations: 15.92 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003033, allocations: 49.53 kB / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003035, allocations: 0 / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003036, allocations: 0 / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.00304, allocations: 0 / 0.5224 GB, free: 20 kB / 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.0003605/0.0034, allocations: 402.6 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.003434, allocations: 8.031 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.0036, allocations: 36.8 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.169e-05/0.003681, allocations: 127.5 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.003692, allocations: 0.875 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.003703, allocations: 5.844 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.003828, allocations: 62.94 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.003838, allocations: 4.188 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.003847, allocations: 1.344 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.003854, allocations: 384 / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.003894, allocations: 15.92 kB / 0.523 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.004213, allocations: 285.6 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.403e-05/0.004287, allocations: 39.05 kB / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.004316, allocations: 12.19 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.004325, allocations: 4 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.004342, allocations: 34.08 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.004343, allocations: 1.219 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000149/0.004492, allocations: 61.61 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.004515, allocations: 51.41 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.004595, allocations: 185.9 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.004606, allocations: 30.33 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.004652, allocations: 140.7 kB / 0.5238 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.004673, allocations: 19.88 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.0047, allocations: 15.38 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.004798, allocations: 0.4884 MB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.004818, allocations: 4 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.004835, allocations: 9.703 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.004871, allocations: 23.62 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004873, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.5e-05/0.004938, allocations: 49.64 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.004952, allocations: 11.94 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.004956, allocations: 1.438 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.00497, allocations: 0 / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.005047, allocations: 11.98 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.005052, allocations: 0.625 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.005088, allocations: 9.344 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.005093, allocations: 3.938 kB / 0.5245 GB, free: 13.7 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 5.887e-05/0.005152, allocations: 164.6 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.005169, allocations: 10.58 kB / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.005195, allocations: 16.25 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005196, allocations: 0 / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.005199, allocations: 0 / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.005205, allocations: 7.984 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.127e-05/0.005296, allocations: 124.6 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005297, allocations: 3.938 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.005332, allocations: 14.73 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.005333, allocations: 0 / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.00534, allocations: 0 / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.005342, allocations: 7.938 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005343, allocations: 0 / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.005444, allocations: 195.9 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.00545, allocations: 3.953 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.00546, allocations: 0 / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.005504, allocations: 16.95 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.005539, allocations: 7.984 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.005541, allocations: 0.9375 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.005584, allocations: 139.2 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005584, allocations: 0 / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001392/0.005723, allocations: 9.188 kB / 0.5252 GB, free: 12.94 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 6.151e-05/0.005784, allocations: 96.84 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.748e-05/0.005872, allocations: 31.67 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005873, allocations: 0 / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.443e-05/0.005898, allocations: 11.69 kB / 0.5253 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.006074, allocations: 10.78 kB / 0.5253 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.00634, allocations: 163.2 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.006372, allocations: 55.36 kB / 0.5255 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.006392, allocations: 5.297 kB / 0.5255 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.006424, allocations: 14.94 kB / 0.5255 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.006425, allocations: 0 / 0.5255 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.002204/0.008628, allocations: 0.826 MB / 0.5263 GB, free: 11.7 MB / 0.4948 GB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9680563188157976]