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.0009838/0.0009838, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001139/0.001139, allocations: 173 kB / 23.49 MB, free: 1.055 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.117/1.117, allocations: 177.1 MB / 203.8 MB, free: 5.594 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.7902/0.7902, allocations: 154.8 MB / 415.1 MB, free: 464 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.644e-06/1.644e-06, allocations: 0 / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.532e-05, allocations: 7.891 kB / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.00222/0.002255, allocations: 1.526 MB / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003281/0.002583, allocations: 120.2 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.002631, allocations: 1.344 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.509e-05/0.002686, allocations: 3.984 kB / 0.5222 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.002749, allocations: 8.656 kB / 0.5222 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.003005, allocations: 27.91 kB / 0.5222 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.0031, allocations: 45.42 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.003207, allocations: 7.984 kB / 0.5223 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.003282, allocations: 23.97 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.003337, allocations: 15.98 kB / 0.5223 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.003354, allocations: 10.22 kB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.003424, allocations: 19.98 kB / 0.5224 GB, free: 484 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.003476, allocations: 7.984 kB / 0.5224 GB, free: 476 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.003503, allocations: 15.92 kB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.003645, allocations: 51.88 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.003648, allocations: 3.938 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.003649, allocations: 0.5 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.003655, allocations: 4 kB / 0.5224 GB, free: 400 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.0004403/0.004096, allocations: 385.9 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.004139, allocations: 12.03 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.004377, allocations: 33.83 kB / 0.5228 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.004478, allocations: 121.5 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.004494, allocations: 8.312 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.004504, allocations: 384 / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.004649, allocations: 67.94 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.004656, allocations: 192 / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.004666, allocations: 1.344 kB / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.004675, allocations: 384 / 0.523 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.004719, allocations: 19.92 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.005091, allocations: 281 kB / 0.5233 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.005172, allocations: 40.2 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.005213, allocations: 23.77 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.005221, allocations: 0.625 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.005242, allocations: 33.39 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.005244, allocations: 1.812 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001747/0.005418, allocations: 61.52 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.00545, allocations: 55.41 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/0.005546, allocations: 184.7 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.005556, allocations: 25.7 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.00561, allocations: 140.6 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.005631, allocations: 11.88 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.005663, allocations: 23.38 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005257/0.006188, allocations: 0.4884 MB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.006216, allocations: 9.406 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.006234, allocations: 4 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.006278, allocations: 23.67 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00628, allocations: 0 / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.801e-05/0.006358, allocations: 46.09 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.006374, allocations: 16.62 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.00638, allocations: 4 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.006393, allocations: 1.469 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.006483, allocations: 11.98 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.006489, allocations: 0 / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.006521, allocations: 11.98 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.006528, allocations: 5.344 kB / 0.5245 GB, free: 14.08 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 6.411e-05/0.006592, allocations: 152.6 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.868e-05/0.006611, allocations: 7.953 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.006637, allocations: 12.5 kB / 0.5247 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.006639, allocations: 1.406 kB / 0.5247 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.006644, allocations: 4 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006648, allocations: 3.984 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.006755, allocations: 124.6 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006756, allocations: 2.562 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.006794, allocations: 11.98 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006795, allocations: 0 / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.006804, allocations: 4 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006806, allocations: 3.938 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006807, allocations: 0 / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.006931, allocations: 202.6 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.006938, allocations: 4.328 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.006952, allocations: 8 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.36e-05/0.006996, allocations: 11.92 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.996e-05/0.007036, allocations: 0 / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.00704, allocations: 3.984 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.007087, allocations: 139.2 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007087, allocations: 1.094 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001432/0.00723, allocations: 8 kB / 0.5252 GB, free: 13.33 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 9.104e-05/0.007321, allocations: 100.2 kB / 0.5253 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.508e-05/0.007416, allocations: 27.62 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.007418, allocations: 0.9375 kB / 0.5253 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.007446, allocations: 15.67 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.007632, allocations: 12.66 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.007924, allocations: 151.4 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.007961, allocations: 64.53 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.007986, allocations: 2.438 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.008021, allocations: 16.5 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.008021, allocations: 0 / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.002389/0.01041, allocations: 0.8237 MB / 0.5264 GB, free: 12.09 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: 4.081560041056946]