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.002393/0.002393, allocations: 85.48 kB / 19.44 MB, free: 340 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.002419/0.002419, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.56/1.56, allocations: 177.1 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.341/1.341, allocations: 154.8 MB / 414.4 MB, free: 444 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 1.443e-06/1.443e-06, allocations: 0 / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.626e-05, allocations: 3.281 kB / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.00283/0.002856, allocations: 1.518 MB / 0.5213 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003218/0.003178, allocations: 112.2 kB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.003206, allocations: 1.406 kB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.288e-05/0.003259, allocations: 0 / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.003326, allocations: 15.86 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.003526, allocations: 25.31 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.003615, allocations: 43.84 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.003697, allocations: 11.94 kB / 0.5215 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.003773, allocations: 25.41 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.788e-05/0.003821, allocations: 15.92 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.00384, allocations: 4 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.003916, allocations: 15.98 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.00397, allocations: 26.47 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.003995, allocations: 8 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004148, allocations: 59.8 kB / 0.5217 GB, free: 420 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004151, allocations: 4 kB / 0.5217 GB, free: 416 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004152, allocations: 0 / 0.5217 GB, free: 416 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.004156, allocations: 0 / 0.5217 GB, free: 416 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.0005873/0.004743, allocations: 396.8 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.004779, allocations: 8.031 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.004999, allocations: 26.38 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.00513, allocations: 128.5 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.005142, allocations: 1.906 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.005157, allocations: 8.312 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.005362, allocations: 58.23 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.005371, allocations: 1.125 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.00538, allocations: 384 / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005386, allocations: 4.125 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.005582, allocations: 49.38 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.006069, allocations: 288.9 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.006261, allocations: 59.67 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.006377, allocations: 33.05 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.006395, allocations: 0 / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.006436, allocations: 45.27 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.006437, allocations: 0 / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004331/0.00687, allocations: 103.2 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.006917, allocations: 59.34 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.007085, allocations: 191.8 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.007114, allocations: 25.7 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.007213, allocations: 142.8 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.007231, allocations: 3.953 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.007285, allocations: 27.36 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002595/0.007545, allocations: 0.4899 MB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.007651, allocations: 23.98 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.999e-05/0.007741, allocations: 23.98 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.007922, allocations: 50.59 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007923, allocations: 0 / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000257/0.00818, allocations: 89.88 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.008196, allocations: 7.938 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.0082, allocations: 0 / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.008212, allocations: 1.5 kB / 0.524 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.008325, allocations: 11.98 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.008329, allocations: 4 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.008391, allocations: 4.5 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.008403, allocations: 7.984 kB / 0.524 GB, free: 13.88 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 0.0001222/0.008526, allocations: 169.5 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.008558, allocations: 7.891 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.008592, allocations: 13.12 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.008593, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.008596, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.008598, allocations: 0.625 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.008893, allocations: 141.1 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008894, allocations: 0 / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/0.008989, allocations: 10.28 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008991, allocations: 0 / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.009002, allocations: 3.938 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009003, allocations: 0 / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009004, allocations: 0 / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.009345, allocations: 242.2 kB / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.009356, allocations: 4 kB / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.009373, allocations: 3.938 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.009468, allocations: 7.984 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.009512, allocations: 3.984 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.009519, allocations: 4 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.522e-05/0.009614, allocations: 148 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009614, allocations: 0 / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002175/0.009832, allocations: 8 kB / 0.5247 GB, free: 13.07 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.0001275/0.009959, allocations: 92.28 kB / 0.5248 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.01022, allocations: 59.59 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01022, allocations: 0.9375 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01034, allocations: 39.66 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.01057, allocations: 7.25 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.01096, allocations: 162 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.01104, allocations: 71.33 kB / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.01108, allocations: 9.422 kB / 0.5251 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.01112, allocations: 12.5 kB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of SimCode: time 4.3e-07/0.01112, allocations: 0 / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.003672/0.01479, allocations: 0.8391 MB / 0.526 GB, free: 11.76 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: 5.9968940779799595]