Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.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.001131/0.001131, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001225/0.001225, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9714/0.9714, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7717/0.7717, allocations: 154.6 MB / 415.6 MB, free: 0.5312 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.5215 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.559e-05, allocations: 5.594 kB / 0.5215 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.005473/0.005489, allocations: 1.48 MB / 0.523 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.00577, allocations: 90.14 kB / 0.5231 GB, free: 376 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.0058, allocations: 0 / 0.5231 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.87e-05/0.005859, allocations: 3.938 kB / 0.5231 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.0059, allocations: 4.703 kB / 0.5231 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.006148, allocations: 21.69 kB / 0.5231 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.006213, allocations: 23.92 kB / 0.5231 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.402e-05/0.006287, allocations: 4 kB / 0.5231 GB, free: 320 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.00633, allocations: 11.98 kB / 0.5231 GB, free: 308 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.207e-05/0.006362, allocations: 15.92 kB / 0.5231 GB, free: 292 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.006376, allocations: 1.438 kB / 0.5232 GB, free: 292 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.006455, allocations: 19.91 kB / 0.5232 GB, free: 272 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.29e-05/0.006488, allocations: 11.94 kB / 0.5232 GB, free: 260 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.006503, allocations: 0.75 kB / 0.5232 GB, free: 260 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.006605, allocations: 31.95 kB / 0.5232 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.006607, allocations: 1.469 kB / 0.5232 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006608, allocations: 3.938 kB / 0.5232 GB, free: 224 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.006613, allocations: 0 / 0.5232 GB, free: 224 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003592/0.006972, allocations: 368.6 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.007006, allocations: 9.375 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.007033, allocations: 4.938 kB / 0.5236 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.01014, allocations: 112.6 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.01015, allocations: 384 / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.01016, allocations: 3.75 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.01026, allocations: 58.89 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.01027, allocations: 192 / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-06/0.01028, allocations: 384 / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.01028, allocations: 384 / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.0103, allocations: 11.92 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.01051, allocations: 224.4 kB / 0.524 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.434e-05/0.01056, allocations: 27.11 kB / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.01058, allocations: 28.19 kB / 0.524 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.0106, allocations: 0.5625 kB / 0.524 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.01062, allocations: 41.95 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.01063, allocations: 0 / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001116/0.01074, allocations: 38.52 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.01076, allocations: 52.88 kB / 0.5242 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.01083, allocations: 161.9 kB / 0.5243 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.01084, allocations: 25.7 kB / 0.5243 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.01088, allocations: 134.9 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.0109, allocations: 16.81 kB / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.01093, allocations: 15.38 kB / 0.5245 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.003125/0.01405, allocations: 496.1 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.01408, allocations: 5 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-06/0.01409, allocations: 0 / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/0.01412, allocations: 17.19 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01412, allocations: 4 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.52e-05/0.01418, allocations: 41.64 kB / 0.525 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.01419, allocations: 6.594 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.0142, allocations: 3.984 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.01421, allocations: 3.938 kB / 0.525 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.01427, allocations: 7.938 kB / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.01427, allocations: 0 / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.01429, allocations: 11.92 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.01429, allocations: 0 / 0.5251 GB, free: 14.14 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 (2): * Single equations (assignments): 2 * 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.264e-05/0.01436, allocations: 163.3 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.01437, allocations: 0 / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.602e-05/0.01444, allocations: 48.91 kB / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01444, allocations: 3.938 kB / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01444, allocations: 0 / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.01445, allocations: 0 / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.01456, allocations: 98.31 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.01456, allocations: 4 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.01458, allocations: 4 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.01458, allocations: 0.9375 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.01458, allocations: 4 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.01458, allocations: 0.9375 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01459, allocations: 256 / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.927e-05/0.01468, allocations: 196.4 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.01468, allocations: 0 / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.01469, allocations: 5.281 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.01473, allocations: 4 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.01476, allocations: 3.984 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.01476, allocations: 6.375 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.0148, allocations: 127.2 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0148, allocations: 4 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002072/0.01501, allocations: 4 kB / 0.5257 GB, free: 13.43 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 (2): * Single equations (assignments): 2 * 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 8.711e-05/0.0151, allocations: 103.2 kB / 0.5258 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.575e-05/0.01515, allocations: 18.59 kB / 0.5258 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.01515, allocations: 0 / 0.5258 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.01517, allocations: 11.69 kB / 0.5258 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.01537, allocations: 6.75 kB / 0.5258 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.01556, allocations: 122.3 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.24e-05/0.01559, allocations: 55.89 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.01561, allocations: 5.375 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.01564, allocations: 70.2 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.01564, allocations: 3.938 kB / 0.5261 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.01111/0.02676, allocations: 0.6259 MB / 0.5267 GB, free: 12.38 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8710150509141386]