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.000973/0.000973, allocations: 88.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.0009913/0.0009913, 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.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.8017/0.8017, allocations: 154.6 MB / 414.9 MB, free: 0.668 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.884e-06/1.884e-06, allocations: 0 / 0.5203 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.961e-05, allocations: 3.078 kB / 0.5203 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.00217/0.002199, allocations: 1.491 MB / 0.5218 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002895/0.002489, allocations: 83.56 kB / 0.5219 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.002522, allocations: 4 kB / 0.5219 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.625e-05/0.002589, allocations: 3.938 kB / 0.5219 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.002625, allocations: 0.5625 kB / 0.5219 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.002894, allocations: 16.53 kB / 0.5219 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.147e-05/0.002966, allocations: 31.86 kB / 0.5219 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.003052, allocations: 0.9688 kB / 0.5219 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.003088, allocations: 11.98 kB / 0.5219 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.42e-05/0.003122, allocations: 13.45 kB / 0.522 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003139, allocations: 4 kB / 0.522 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.00321, allocations: 19.91 kB / 0.522 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.003251, allocations: 8 kB / 0.522 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.003272, allocations: 8.453 kB / 0.522 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.003395, allocations: 27.91 kB / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.003398, allocations: 0.5 kB / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0034, allocations: 0.75 kB / 0.522 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.003404, allocations: 4 kB / 0.522 GB, free: 0.793 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003625/0.003767, allocations: 366.4 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.003804, allocations: 8.031 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.003842, allocations: 4.938 kB / 0.5224 GB, free: 396 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.003935, allocations: 112.6 kB / 0.5225 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003946, allocations: 4.938 kB / 0.5225 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.003955, allocations: 384 / 0.5225 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.004086, allocations: 59.83 kB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.004092, allocations: 192 / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.0041, allocations: 1.812 kB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.004107, allocations: 384 / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.00414, allocations: 19.81 kB / 0.5226 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.004458, allocations: 243.8 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.747e-05/0.004516, allocations: 35.84 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.004537, allocations: 8.844 kB / 0.5229 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.004576, allocations: 4.062 kB / 0.5229 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.004597, allocations: 33.39 kB / 0.5229 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.004598, allocations: 6.688 kB / 0.5229 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.004742, allocations: 45.62 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.004774, allocations: 55.41 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.004853, allocations: 165.9 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.004864, allocations: 25.7 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.004911, allocations: 134.9 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.00493, allocations: 7.891 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.004959, allocations: 19.94 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.005071, allocations: 498.9 kB / 0.5238 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.005089, allocations: 7.984 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-06/0.005099, allocations: 0 / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/0.005127, allocations: 15.62 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.005129, allocations: 0 / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.906e-05/0.005188, allocations: 41.66 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.005203, allocations: 9.562 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005209, allocations: 3.938 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.005222, allocations: 0 / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.005305, allocations: 7.984 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.00531, allocations: 0.9375 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.005328, allocations: 4 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.005332, allocations: 0.9375 kB / 0.5239 GB, free: 14.68 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.118e-05/0.005393, allocations: 152.6 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.005406, allocations: 4.5 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.111e-05/0.005497, allocations: 57.56 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005499, allocations: 0 / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005503, allocations: 5.203 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005507, allocations: 0 / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.005601, allocations: 116.6 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.005602, allocations: 0.625 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.005631, allocations: 7.984 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.005633, allocations: 4.594 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.005639, allocations: 0.7812 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.005641, allocations: 3.938 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.005642, allocations: 0 / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.387e-05/0.005736, allocations: 198.6 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.005743, allocations: 0 / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.005752, allocations: 0 / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.104e-05/0.005783, allocations: 8.188 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.00582, allocations: 3.984 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.005825, allocations: 8 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.005865, allocations: 130.3 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005865, allocations: 0 / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001537/0.006019, allocations: 4 kB / 0.5246 GB, free: 13.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 (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 0.0001321/0.006151, allocations: 95.25 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.062e-05/0.006232, allocations: 15.67 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006233, allocations: 0 / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-05/0.006252, allocations: 21.44 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.006442, allocations: 7.938 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.006711, allocations: 125.1 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.006752, allocations: 61.44 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.616e-05/0.006769, allocations: 0 / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.00679, allocations: 12.5 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.373e-06/0.006792, allocations: 0 / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.002581/0.009373, allocations: 0.5519 MB / 0.5254 GB, free: 13.01 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.769487423123792]