Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001373/0.001373, allocations: 104.6 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.001313/0.001313, 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.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.098/1.098, allocations: 175.7 MB / 478.4 MB, free: 3.434 MB / 366.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-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 73.48 kB / 0.6653 GB, free: 11.17 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1928, allocations: 94.53 MB / 0.7576 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001884/0.1947, allocations: 0.5834 MB / 0.7581 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.1949, allocations: 43.81 kB / 0.7582 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.278e-05/0.195, allocations: 0 / 0.7582 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.195, allocations: 0 / 0.7582 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.195, allocations: 0 / 0.7582 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.1952, allocations: 7.984 kB / 0.7582 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.571e-05/0.1953, allocations: 12 kB / 0.7582 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.1953, allocations: 0 / 0.7582 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.211e-05/0.1953, allocations: 0 / 0.7582 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.1954, allocations: 0 / 0.7582 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.1954, allocations: 0 / 0.7582 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.206e-05/0.1955, allocations: 23.91 kB / 0.7582 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.1955, allocations: 7.984 kB / 0.7582 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.1955, allocations: 0 / 0.7582 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.711e-05/0.1956, allocations: 16.2 kB / 0.7582 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1956, allocations: 0 / 0.7582 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1956, allocations: 7.938 kB / 0.7583 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1956, allocations: 4 kB / 0.7583 GB, free: 0.8438 MB / 0.5606 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.0004668/0.1961, allocations: 311.6 kB / 0.7586 GB, free: 500 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1961, allocations: 8.031 kB / 0.7586 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.1962, allocations: 30.75 kB / 0.7586 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.1962, allocations: 0.9375 kB / 0.7586 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1963, allocations: 160.4 kB / 0.7587 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1963, allocations: 384 / 0.7587 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.1964, allocations: 8.359 kB / 0.7588 GB, free: 244 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1965, allocations: 38.25 kB / 0.7588 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1965, allocations: 3.938 kB / 0.7588 GB, free: 196 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1965, allocations: 3.938 kB / 0.7588 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1965, allocations: 0 / 0.7588 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.1965, allocations: 4 kB / 0.7588 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.1967, allocations: 141.7 kB / 0.7589 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.1967, allocations: 18.61 kB / 0.759 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.1968, allocations: 4.859 kB / 0.759 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.1968, allocations: 8 kB / 0.759 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.1968, allocations: 38.61 kB / 0.759 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1968, allocations: 3.938 kB / 0.759 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.197, allocations: 37.58 kB / 0.759 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.197, allocations: 51.41 kB / 0.7591 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.005e-05/0.1971, allocations: 89.86 kB / 0.7592 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1971, allocations: 25.7 kB / 0.7592 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.1971, allocations: 84.27 kB / 0.7593 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1972, allocations: 7.953 kB / 0.7593 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.1972, allocations: 13.72 kB / 0.7593 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1974, allocations: 314.8 kB / 0.7596 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.1974, allocations: 4.406 kB / 0.7596 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.1974, allocations: 0 / 0.7596 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/0.1974, allocations: 12.8 kB / 0.7596 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1974, allocations: 0 / 0.7596 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.023e-05/0.1975, allocations: 33.77 kB / 0.7597 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1975, allocations: 4 kB / 0.7597 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1975, allocations: 7.938 kB / 0.7597 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1975, allocations: 3.938 kB / 0.7597 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.1976, allocations: 3.984 kB / 0.7597 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1976, allocations: 0 / 0.7597 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.1976, allocations: 0 / 0.7597 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1976, allocations: 8 kB / 0.7597 GB, free: 15.15 MB / 0.5762 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 7.138e-05/0.1977, allocations: 105.8 kB / 0.7598 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.1977, allocations: 4.031 kB / 0.7598 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.1978, allocations: 52.62 kB / 0.7598 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1978, allocations: 0 / 0.7598 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1978, allocations: 0 / 0.7598 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1978, allocations: 0 / 0.7598 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.198, allocations: 149.7 kB / 0.76 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.198, allocations: 0 / 0.76 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.198, allocations: 8.031 kB / 0.76 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.198, allocations: 3.984 kB / 0.76 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.198, allocations: 3.938 kB / 0.76 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.198, allocations: 0 / 0.76 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.198, allocations: 0 / 0.76 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.347e-05/0.1981, allocations: 57.14 kB / 0.76 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.1981, allocations: 81.05 kB / 0.7601 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1982, allocations: 7.922 kB / 0.7601 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.1982, allocations: 4.031 kB / 0.7601 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.1982, allocations: 4 kB / 0.7601 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.1982, allocations: 0 / 0.7601 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.1982, allocations: 75.28 kB / 0.7602 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1982, allocations: 0 / 0.7602 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002078/0.1984, allocations: 7.938 kB / 0.7602 GB, free: 14.5 MB / 0.5762 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.0004621/0.1989, allocations: 0.6076 MB / 0.7608 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.009e-05/0.199, allocations: 7.938 kB / 0.7608 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.199, allocations: 0 / 0.7608 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.588e-05/0.199, allocations: 4 kB / 0.7608 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.1991, allocations: 2.109 kB / 0.7608 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.1995, allocations: 114.7 kB / 0.7609 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1998, allocations: 0.673 MB / 0.7616 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.1998, allocations: 7.938 kB / 0.7616 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.1998, allocations: 7.438 kB / 0.7616 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.1998, allocations: 0 / 0.7616 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.224, allocations: 1.021 MB / 0.7626 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.843/8.067, allocations: 8.938 kB / 0.7626 GB, free: 12.04 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.950005740858614] Failed to read output from testmodel.py, exit status != 0: 8.13623908162117 8.157420377 7.957904667 Calling exit ...