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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8469/0.8469, allocations: 133.9 MB / 436.6 MB, free: 13.86 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002007/0.002007, allocations: 71.89 kB / 0.6052 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4297, allocations: 84.67 MB / 0.6878 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.00164/0.4314, allocations: 0.5794 MB / 0.6884 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.4316, allocations: 46.52 kB / 0.6884 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.199e-05/0.4316, allocations: 4 kB / 0.6885 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.4317, allocations: 0 / 0.6885 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.4317, allocations: 1.438 kB / 0.6885 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.432, allocations: 5.094 kB / 0.6885 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.236e-05/0.432, allocations: 9.359 kB / 0.6885 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.432, allocations: 1.594 kB / 0.6885 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.535e-05/0.4321, allocations: 5.109 kB / 0.6885 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.4321, allocations: 5.344 kB / 0.6885 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.4321, allocations: 0 / 0.6885 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.486e-05/0.4322, allocations: 19.08 kB / 0.6885 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.4322, allocations: 5.469 kB / 0.6885 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.4322, allocations: 0 / 0.6885 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.366e-05/0.4323, allocations: 19.31 kB / 0.6885 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4323, allocations: 0 / 0.6885 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4323, allocations: 0 / 0.6885 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.4324, allocations: 0 / 0.6885 GB, free: 1.27 MB / 0.4981 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.0002815/0.4326, allocations: 311.9 kB / 0.6888 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4327, allocations: 10.38 kB / 0.6888 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.319e-05/0.4327, allocations: 34.73 kB / 0.6889 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.031e-05/0.4327, allocations: 0.9375 kB / 0.6889 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.872e-05/0.4328, allocations: 164.4 kB / 0.689 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.4328, allocations: 1.781 kB / 0.689 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.4328, allocations: 384 / 0.689 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.582e-05/0.4329, allocations: 32.64 kB / 0.6891 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4329, allocations: 3.938 kB / 0.6891 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.4329, allocations: 4 kB / 0.6891 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4329, allocations: 1 kB / 0.6891 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.863e-05/0.4329, allocations: 2.594 kB / 0.6891 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.433, allocations: 149.7 kB / 0.6892 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.4331, allocations: 16.98 kB / 0.6892 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.4331, allocations: 5.984 kB / 0.6892 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.4331, allocations: 2.062 kB / 0.6892 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.4331, allocations: 38.5 kB / 0.6893 GB, free: 368 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4331, allocations: 1.5 kB / 0.6893 GB, free: 368 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.4333, allocations: 37.81 kB / 0.6893 GB, free: 328 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.4333, allocations: 56.47 kB / 0.6894 GB, free: 260 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.79e-05/0.4333, allocations: 89.86 kB / 0.6894 GB, free: 160 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.4333, allocations: 26.77 kB / 0.6895 GB, free: 128 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.219e-05/0.4333, allocations: 80.14 kB / 0.6895 GB, free: 44 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.4334, allocations: 7.953 kB / 0.6896 GB, free: 40 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.4334, allocations: 15.94 kB / 0.6896 GB, free: 20 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4336, allocations: 310.8 kB / 0.6899 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.4336, allocations: 1.094 kB / 0.6899 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/0.4336, allocations: 5.312 kB / 0.6899 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.4336, allocations: 15.66 kB / 0.6899 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4336, allocations: 5.469 kB / 0.6899 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.806e-05/0.4337, allocations: 30.67 kB / 0.6899 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4337, allocations: 5.219 kB / 0.6899 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4337, allocations: 3.938 kB / 0.6899 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4337, allocations: 5.25 kB / 0.6899 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.4338, allocations: 1.281 kB / 0.6899 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4338, allocations: 1.406 kB / 0.6899 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.4338, allocations: 8.031 kB / 0.6899 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.4338, allocations: 1.281 kB / 0.6899 GB, free: 15.64 MB / 0.5137 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 9.243e-05/0.4339, allocations: 114.9 kB / 0.6901 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-06/0.4339, allocations: 0 / 0.6901 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.434, allocations: 42.89 kB / 0.6901 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.434, allocations: 5.344 kB / 0.6901 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.434, allocations: 3.984 kB / 0.6901 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.434, allocations: 0 / 0.6901 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.4342, allocations: 155.2 kB / 0.6903 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4342, allocations: 0 / 0.6903 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.4342, allocations: 2.281 kB / 0.6903 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4342, allocations: 1.688 kB / 0.6903 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.4342, allocations: 3.938 kB / 0.6903 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4342, allocations: 0 / 0.6903 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4342, allocations: 0 / 0.6903 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.007e-05/0.4343, allocations: 64.53 kB / 0.6903 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.4343, allocations: 77.11 kB / 0.6904 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.4343, allocations: 9.938 kB / 0.6904 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.4343, allocations: 0 / 0.6904 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.4344, allocations: 0 / 0.6904 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4344, allocations: 4.953 kB / 0.6904 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.4344, allocations: 76.81 kB / 0.6905 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4344, allocations: 0 / 0.6905 GB, free: 15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001982/0.4346, allocations: 7.75 kB / 0.6905 GB, free: 15 MB / 0.5137 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.0004942/0.4351, allocations: 0.5994 MB / 0.6911 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.931e-05/0.4352, allocations: 8.344 kB / 0.6911 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4352, allocations: 0 / 0.6911 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-06/0.4352, allocations: 6.781 kB / 0.6911 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.4353, allocations: 1.406 kB / 0.6911 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.4356, allocations: 112.9 kB / 0.6912 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.436, allocations: 0.6704 MB / 0.6919 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.436, allocations: 1.406 kB / 0.6919 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.436, allocations: 12.84 kB / 0.6919 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.436, allocations: 0 / 0.6919 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.4604, allocations: 1.014 MB / 0.6929 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.469, allocations: 21.06 kB / 0.6929 GB, free: 12.95 MB / 0.5137 GB " [Timeout remaining time 651] (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: 11.863213873934] Failed to read output from testmodel.py, exit status != 0: 8.54958304669708 8.56401621 8.128862871 Calling exit ...