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.0007816/0.0007816, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000868/0.000868, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9015/0.9015, allocations: 177.1 MB / 202.8 MB, free: 5.742 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-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 0.7036/0.7036, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/3.046e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001602/0.001633, allocations: 0.5875 MB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.001811, allocations: 27.84 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.288e-05/0.001824, allocations: 0 / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.001838, allocations: 0 / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-06/0.001845, allocations: 7.938 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.002133, allocations: 19.91 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.155e-05/0.002175, allocations: 3.938 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.002214, allocations: 4 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.689e-05/0.002241, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.017e-05/0.002261, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.002274, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.002341, allocations: 19.97 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.002349, allocations: 0 / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.002362, allocations: 0 / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.521e-05/0.002447, allocations: 15.98 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.00245, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.353e-06/0.002452, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.002456, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB 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.0002426/0.002698, allocations: 238.5 kB / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.002741, allocations: 12.03 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.00277, allocations: 30.75 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.002794, allocations: 0.9375 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.496e-05/0.002849, allocations: 101.8 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.002859, allocations: 384 / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.002866, allocations: 384 / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.002958, allocations: 38.25 kB / 0.6192 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.002965, allocations: 4.125 kB / 0.6192 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.002973, allocations: 4.312 kB / 0.6192 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.002979, allocations: 4.125 kB / 0.6192 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.002998, allocations: 4 kB / 0.6192 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.003109, allocations: 120.7 kB / 0.6194 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/0.00315, allocations: 18.61 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.003164, allocations: 4.859 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.0032, allocations: 0 / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.003222, allocations: 38.61 kB / 0.6194 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.003223, allocations: 4 kB / 0.6194 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.003354, allocations: 37.64 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.003388, allocations: 55.34 kB / 0.6195 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.005e-05/0.003418, allocations: 93.86 kB / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.003427, allocations: 25.7 kB / 0.6196 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.003448, allocations: 80.14 kB / 0.6197 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.003477, allocations: 0 / 0.6197 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.0035, allocations: 9.719 kB / 0.6197 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.00358, allocations: 322.8 kB / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.003592, allocations: 0 / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.003598, allocations: 4.125 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.003626, allocations: 16.73 kB / 0.62 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.003628, allocations: 0 / 0.62 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.007e-05/0.003668, allocations: 33.7 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.00368, allocations: 4 kB / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.003686, allocations: 0 / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.003697, allocations: 0 / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.003763, allocations: 7.984 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.003769, allocations: 3.938 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-06/0.003776, allocations: 96 / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.003788, allocations: 4 kB / 0.6201 GB, free: 11.41 MB / 0.5886 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 5.855e-05/0.003847, allocations: 114.8 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-06/0.003851, allocations: 0 / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.071e-05/0.003941, allocations: 44.58 kB / 0.6202 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.003943, allocations: 0 / 0.6202 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.003948, allocations: 7.938 kB / 0.6202 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.003951, allocations: 4 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.792e-05/0.004009, allocations: 124.7 kB / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.004011, allocations: 0 / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.004025, allocations: 8 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.004027, allocations: 0 / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.004034, allocations: 3.984 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.004035, allocations: 0 / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.004037, allocations: 3.938 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.429e-05/0.004081, allocations: 53.14 kB / 0.6204 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-06/0.004085, allocations: 0 / 0.6204 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.004094, allocations: 4 kB / 0.6204 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-06/0.004099, allocations: 8.016 kB / 0.6204 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.004111, allocations: 7.875 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.004115, allocations: 3.984 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.838e-05/0.004133, allocations: 75.28 kB / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004133, allocations: 0 / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001265/0.00426, allocations: 4 kB / 0.6205 GB, free: 10.87 MB / 0.5886 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.0002809/0.004541, allocations: 0.5891 MB / 0.6211 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.242e-05/0.004603, allocations: 4 kB / 0.6211 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004605, allocations: 8.031 kB / 0.6211 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.155e-06/0.004613, allocations: 8 kB / 0.6211 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.004713, allocations: 5.969 kB / 0.6211 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.004971, allocations: 102.7 kB / 0.6212 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.005006, allocations: 55.36 kB / 0.6213 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.005026, allocations: 0 / 0.6213 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.00505, allocations: 12.56 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.00505, allocations: 3.938 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.02209, allocations: 1.638 MB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/6.636, allocations: 9.844 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.251981982029974] Failed to read output from testmodel.py, exit status != 0: 6.7156304670497775 6.723129604 6.719005792 Calling exit ...