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.001315/0.001315, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001414/0.001414, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.199/1.199, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 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 178] 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.693e-06/1.693e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.882e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002664/0.002693, allocations: 1.446 MB / 0.62 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003346/0.003028, allocations: 89.33 kB / 0.6201 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.003061, allocations: 4 kB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.444e-05/0.003126, allocations: 0 / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.00317, allocations: 4.969 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.003443, allocations: 19.97 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.807e-05/0.003521, allocations: 23.92 kB / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.003629, allocations: 14.36 kB / 0.6202 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.003673, allocations: 11.94 kB / 0.6202 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.003714, allocations: 7.984 kB / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.003732, allocations: 4 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.741e-05/0.003819, allocations: 19.97 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.003862, allocations: 4 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.00389, allocations: 15.92 kB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.004018, allocations: 39.89 kB / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00402, allocations: 0 / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.52e-07/0.00402, allocations: 0 / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.004025, allocations: 0 / 0.6203 GB, free: 2.871 MB / 0.5294 GB 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.0005549/0.00458, allocations: 270.2 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.00462, allocations: 8.031 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.00466, allocations: 12.86 kB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.004782, allocations: 101.8 kB / 0.6206 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.004795, allocations: 4.375 kB / 0.6206 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.004806, allocations: 8.375 kB / 0.6206 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.005016, allocations: 54.17 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.005024, allocations: 192 / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.005035, allocations: 384 / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.00504, allocations: 384 / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.005232, allocations: 47.88 kB / 0.6207 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.005604, allocations: 200.5 kB / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.005751, allocations: 42.59 kB / 0.621 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.005848, allocations: 28.91 kB / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.005887, allocations: 4 kB / 0.621 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.005919, allocations: 30.56 kB / 0.621 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.00592, allocations: 3.938 kB / 0.621 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003985/0.006319, allocations: 97.5 kB / 0.6211 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.006365, allocations: 55.53 kB / 0.6212 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.006473, allocations: 101.9 kB / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.006491, allocations: 25.7 kB / 0.6213 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.006558, allocations: 92.12 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.006579, allocations: 3.953 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.006616, allocations: 13.72 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.006793, allocations: 314.8 kB / 0.6217 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.006889, allocations: 19.97 kB / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.006967, allocations: 15.98 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.007168, allocations: 44.89 kB / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.00717, allocations: 0 / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000209/0.007379, allocations: 69.59 kB / 0.6219 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.007396, allocations: 8 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.007403, allocations: 3.938 kB / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.007415, allocations: 0 / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.007507, allocations: 12.02 kB / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.007513, allocations: 4 kB / 0.6219 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.007566, allocations: 11.94 kB / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.007571, allocations: 0 / 0.6219 GB, free: 1.02 MB / 0.5294 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 0.0001023/0.007673, allocations: 111.7 kB / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.007699, allocations: 4 kB / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.007954, allocations: 81.2 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007955, allocations: 4.031 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.00796, allocations: 256 / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.007963, allocations: 3.938 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.008114, allocations: 113.3 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.008115, allocations: 0 / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.008175, allocations: 8 kB / 0.6222 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008176, allocations: 0 / 0.6222 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.008184, allocations: 0 / 0.6222 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.008193, allocations: 7.875 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.008196, allocations: 3.984 kB / 0.6222 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.008464, allocations: 163.5 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.008476, allocations: 11.89 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.008488, allocations: 3.938 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.00865, allocations: 11.94 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.008684, allocations: 3.984 kB / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.008687, allocations: 0 / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.797e-05/0.008755, allocations: 87.28 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.008755, allocations: 0 / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002227/0.008978, allocations: 4 kB / 0.6225 GB, free: 352 kB / 0.5294 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.000152/0.00913, allocations: 107.2 kB / 0.6226 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.009381, allocations: 35.97 kB / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009383, allocations: 0 / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.009475, allocations: 23.97 kB / 0.6226 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.009738, allocations: 0 / 0.6226 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.01006, allocations: 120.9 kB / 0.6228 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.827e-05/0.01015, allocations: 67.28 kB / 0.6228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.083e-05/0.01017, allocations: 0 / 0.6228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.01019, allocations: 12.5 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of SimCode: time 4.7e-07/0.01019, allocations: 0 / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of Templates: time 0.003539/0.01373, allocations: 0.5536 MB / 0.6234 GB, free: 15.39 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7283950522542] Failed to read output from testmodel.py, exit status != 0: 0.02277975156903267 0.041077606 0.033613838 Calling exit ...