Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001003/0.001003, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001188/0.001188, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9642/0.9642, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.7827/0.7827, allocations: 154.6 MB / 414.8 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5208 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.582e-05, allocations: 5.625 kB / 0.5208 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001176/0.001202, allocations: 0.6052 MB / 0.5214 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000173/0.001375, allocations: 16.47 kB / 0.5214 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.001389, allocations: 0 / 0.5214 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.001403, allocations: 0.7812 kB / 0.5214 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.001409, allocations: 4 kB / 0.5214 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.001653, allocations: 21.12 kB / 0.5215 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.445e-05/0.001687, allocations: 0.875 kB / 0.5215 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.059e-05/0.001718, allocations: 0 / 0.5215 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.001746, allocations: 4.625 kB / 0.5215 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.001763, allocations: 5.797 kB / 0.5215 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.001775, allocations: 0 / 0.5215 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.69e-05/0.001842, allocations: 15.97 kB / 0.5215 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.001851, allocations: 4.656 kB / 0.5215 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.356e-06/0.001859, allocations: 0 / 0.5215 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.367e-05/0.001933, allocations: 14.31 kB / 0.5215 GB, free: 1.211 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.001934, allocations: 4 kB / 0.5215 GB, free: 1.207 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.001935, allocations: 0 / 0.5215 GB, free: 1.207 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.001938, allocations: 0 / 0.5215 GB, free: 1.207 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002253/0.002163, allocations: 336.4 kB / 0.5218 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.002198, allocations: 9.312 kB / 0.5218 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.111e-05/0.002219, allocations: 1.703 kB / 0.5218 GB, free: 0.832 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.61e-05/0.002285, allocations: 112.6 kB / 0.5219 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.002294, allocations: 1 kB / 0.5219 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-06/0.002298, allocations: 384 / 0.5219 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.071e-05/0.002359, allocations: 38.94 kB / 0.522 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.002365, allocations: 1.656 kB / 0.522 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-06/0.00237, allocations: 384 / 0.522 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.002376, allocations: 0.5938 kB / 0.522 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-06/0.002385, allocations: 3.938 kB / 0.522 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.4e-05/0.002459, allocations: 98.42 kB / 0.5221 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.943e-05/0.002488, allocations: 23.06 kB / 0.5221 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.0025, allocations: 11.78 kB / 0.5221 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.002531, allocations: 11.55 kB / 0.5221 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.002548, allocations: 33.39 kB / 0.5222 GB, free: 436 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.002549, allocations: 0 / 0.5222 GB, free: 436 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 8.516e-05/0.002634, allocations: 37.7 kB / 0.5222 GB, free: 392 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.002656, allocations: 51.41 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.313e-05/0.002689, allocations: 142.2 kB / 0.5224 GB, free: 172 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.002697, allocations: 25.7 kB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.002723, allocations: 126.9 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.002748, allocations: 0 / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.002782, allocations: 19.94 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.00289, allocations: 0.4889 MB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.002899, allocations: 8 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.002906, allocations: 4.906 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.002934, allocations: 13.16 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.002936, allocations: 0 / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.442e-05/0.002981, allocations: 33.7 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.002991, allocations: 4 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.003, allocations: 1.812 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.003012, allocations: 4 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.003065, allocations: 3.984 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.003069, allocations: 3.984 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-06/0.003078, allocations: 2.094 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.003091, allocations: 4 kB / 0.5231 GB, free: 15.39 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 (1): * Single equations (assignments): 1 * 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.257e-05/0.003154, allocations: 160.5 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-06/0.003159, allocations: 352 / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.003241, allocations: 51.02 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.003243, allocations: 0 / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.003245, allocations: 0 / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.003249, allocations: 0 / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.635e-05/0.003315, allocations: 105.1 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.003317, allocations: 0 / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.003331, allocations: 5.562 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.003333, allocations: 0 / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.003337, allocations: 3.938 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.003339, allocations: 0 / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.00334, allocations: 0.9375 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.506e-05/0.003395, allocations: 76.31 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-06/0.0034, allocations: 4.938 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-06/0.003406, allocations: 0 / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-06/0.00341, allocations: 0 / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.003421, allocations: 0.6562 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.003428, allocations: 4.766 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.00347, allocations: 119.2 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00347, allocations: 4 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001211/0.003591, allocations: 6.719 kB / 0.5236 GB, free: 14.81 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 (1): * Single equations (assignments): 1 * 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.0001111/0.003702, allocations: 95.25 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.278e-05/0.003755, allocations: 11.69 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.003756, allocations: 0 / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-06/0.003766, allocations: 22.75 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.054e-05/0.003856, allocations: 7.938 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.004021, allocations: 87.94 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.666e-05/0.004048, allocations: 51.36 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.004067, allocations: 3.281 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.004099, allocations: 70.2 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.004099, allocations: 0 / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.002175/0.006274, allocations: 316.1 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6790149519219995]