Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001434/0.001434, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009552/0.0009552, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9228/0.9228, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7022/0.7022, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.666e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001761/0.001778, allocations: 1.461 MB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.002015, allocations: 75.83 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.002042, allocations: 7.938 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.002099, allocations: 3.984 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.002132, allocations: 3.938 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.002379, allocations: 31.84 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.002437, allocations: 19.92 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.002518, allocations: 8 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.002552, allocations: 11.98 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.846e-05/0.002581, allocations: 7.938 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.002595, allocations: 0 / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.002667, allocations: 23.97 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.002706, allocations: 7.984 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.002724, allocations: 8 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.002827, allocations: 35.88 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002829, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002829, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.002833, allocations: 0 / 0.6197 GB, free: 12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003117/0.003145, allocations: 266.3 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.003184, allocations: 13.47 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.511e-05/0.003209, allocations: 30.75 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.769e-05/0.003227, allocations: 0.9375 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.343e-05/0.0033, allocations: 121.7 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.003309, allocations: 384 / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.003318, allocations: 4.312 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.00344, allocations: 54.23 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.003448, allocations: 192 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.003455, allocations: 384 / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.00346, allocations: 4.125 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.759e-05/0.003548, allocations: 35.95 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.003811, allocations: 220.1 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.09e-05/0.003892, allocations: 46.48 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.003937, allocations: 24.91 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.003965, allocations: 0 / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.003982, allocations: 38.5 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.003983, allocations: 0 / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.004193, allocations: 89.64 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.00422, allocations: 51.41 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.004279, allocations: 109.8 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.004288, allocations: 33.58 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.004323, allocations: 88.14 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.004336, allocations: 3.953 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.004359, allocations: 13.7 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.004432, allocations: 322.8 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/0.004474, allocations: 11.98 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-05/0.004511, allocations: 28.09 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.793e-05/0.004589, allocations: 40.83 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00459, allocations: 0 / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.928e-05/0.00469, allocations: 77.55 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.0047, allocations: 4 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004704, allocations: 8.094 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.004713, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.004769, allocations: 11.92 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.004773, allocations: 0 / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.004793, allocations: 4 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004798, allocations: 4.234 kB / 0.6214 GB, free: 10.07 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 (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 4.761e-05/0.004846, allocations: 110.8 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.004859, allocations: 7.938 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.004983, allocations: 81.28 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.004985, allocations: 0 / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.004989, allocations: 0 / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.004991, allocations: 0 / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.541e-05/0.005086, allocations: 128.8 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005087, allocations: 0 / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.00511, allocations: 11.98 kB / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.005113, allocations: 7.922 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.005118, allocations: 0 / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005119, allocations: 0 / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00512, allocations: 7.969 kB / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.005238, allocations: 167.5 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-06/0.005243, allocations: 3.938 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.005253, allocations: 7.984 kB / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.005286, allocations: 0 / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.005319, allocations: 7.984 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.00532, allocations: 0 / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.768e-05/0.005348, allocations: 83.28 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005348, allocations: 4.031 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001533/0.005501, allocations: 8 kB / 0.622 GB, free: 9.371 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 (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.0004595/0.005961, allocations: 0.7083 MB / 0.6227 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.006078, allocations: 35.97 kB / 0.6227 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.00608, allocations: 0 / 0.6227 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/0.006119, allocations: 32 kB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.0063, allocations: 4 kB / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.006604, allocations: 138.5 kB / 0.6229 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.006647, allocations: 63.34 kB / 0.623 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.639e-05/0.006663, allocations: 3.984 kB / 0.623 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.006687, allocations: 8.5 kB / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.006687, allocations: 0 / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.02065, allocations: 2.092 MB / 0.625 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.134, allocations: 4.312 kB / 0.625 GB, free: 6.344 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.810234438627958] Failed to read output from testmodel.py, exit status != 0: 7.213909870944917 7.224304588 7.219705483 Calling exit ...