Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00183/0.00183, allocations: 104.1 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.002031/0.002031, allocations: 188.6 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.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 288.1 kB / 303 MB, free: 3.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 180.9 MB / 0.5262 GB, free: 2.773 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 107.8 kB / 0.7248 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5764/0.5791, allocations: 94.15 MB / 0.8168 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001599/0.5807, allocations: 0.5916 MB / 0.8173 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002316/0.581, allocations: 34.44 kB / 0.8174 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.581, allocations: 4 kB / 0.8174 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.581, allocations: 1.031 kB / 0.8174 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.581, allocations: 0 / 0.8174 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.5813, allocations: 18.7 kB / 0.8174 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.5813, allocations: 5.359 kB / 0.8174 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.5814, allocations: 5.031 kB / 0.8174 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.286e-05/0.5814, allocations: 0.75 kB / 0.8174 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.5814, allocations: 0.9375 kB / 0.8174 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.5814, allocations: 3.984 kB / 0.8174 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.5815, allocations: 19.7 kB / 0.8174 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.5815, allocations: 7.938 kB / 0.8174 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.5816, allocations: 0 / 0.8174 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.645e-05/0.5816, allocations: 17.8 kB / 0.8175 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5817, allocations: 0 / 0.8175 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5817, allocations: 1.125 kB / 0.8175 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5817, allocations: 0 / 0.8175 GB, free: 6.715 MB / 0.5762 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.0002638/0.5819, allocations: 312 kB / 0.8177 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.582, allocations: 8.781 kB / 0.8178 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.644e-05/0.582, allocations: 30.75 kB / 0.8178 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.582, allocations: 1.906 kB / 0.8178 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.815e-05/0.5821, allocations: 171.8 kB / 0.818 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.5821, allocations: 5.406 kB / 0.818 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.5821, allocations: 1.375 kB / 0.818 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.43e-05/0.5822, allocations: 28.11 kB / 0.818 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5822, allocations: 3.938 kB / 0.818 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.5822, allocations: 0 / 0.818 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5822, allocations: 1.031 kB / 0.818 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.5822, allocations: 1.031 kB / 0.818 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.5823, allocations: 150.9 kB / 0.8181 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.5824, allocations: 24.48 kB / 0.8182 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.5824, allocations: 5.828 kB / 0.8182 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.5824, allocations: 1.906 kB / 0.8182 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.5824, allocations: 31.59 kB / 0.8182 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.5824, allocations: 0 / 0.8182 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.5826, allocations: 38.41 kB / 0.8182 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.5826, allocations: 55.53 kB / 0.8183 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.549e-05/0.5826, allocations: 95.2 kB / 0.8184 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.351e-06/0.5826, allocations: 25.7 kB / 0.8184 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.868e-06/0.5826, allocations: 80.14 kB / 0.8185 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.5826, allocations: 12.27 kB / 0.8185 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.5827, allocations: 14.78 kB / 0.8185 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.5827, allocations: 311.8 kB / 0.8188 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.5827, allocations: 4.438 kB / 0.8188 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.5827, allocations: 5 kB / 0.8188 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.143e-05/0.5827, allocations: 7.828 kB / 0.8188 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5827, allocations: 3.938 kB / 0.8188 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.14e-05/0.5828, allocations: 35.64 kB / 0.8189 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5828, allocations: 6.312 kB / 0.8189 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5828, allocations: 3.938 kB / 0.8189 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5828, allocations: 0 / 0.8189 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.5829, allocations: 3.25 kB / 0.8189 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.5829, allocations: 7.359 kB / 0.8189 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.5829, allocations: 4 kB / 0.8189 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.5829, allocations: 1.188 kB / 0.8189 GB, free: 5.098 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 4.01e-05/0.5829, allocations: 108 kB / 0.819 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.5829, allocations: 3.984 kB / 0.819 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.934e-05/0.583, allocations: 46.67 kB / 0.819 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.583, allocations: 8.031 kB / 0.819 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.583, allocations: 0.8125 kB / 0.819 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.583, allocations: 0 / 0.819 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.811e-05/0.5831, allocations: 146 kB / 0.8192 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.5831, allocations: 1.031 kB / 0.8192 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.5831, allocations: 2 kB / 0.8192 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.5831, allocations: 0 / 0.8192 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.5831, allocations: 4.781 kB / 0.8192 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.5831, allocations: 0 / 0.8192 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5831, allocations: 1.25 kB / 0.8192 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.427e-05/0.5832, allocations: 67.38 kB / 0.8193 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.5832, allocations: 77.11 kB / 0.8193 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.5832, allocations: 5.219 kB / 0.8193 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.5832, allocations: 0 / 0.8193 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.5832, allocations: 1.125 kB / 0.8193 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.5832, allocations: 5.125 kB / 0.8193 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.427e-05/0.5832, allocations: 75.28 kB / 0.8194 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.5832, allocations: 0 / 0.8194 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001927/0.5834, allocations: 8.75 kB / 0.8194 GB, free: 4.488 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.0003062/0.5837, allocations: 0.6069 MB / 0.82 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.053e-05/0.5838, allocations: 4.031 kB / 0.82 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5838, allocations: 1.094 kB / 0.82 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.5838, allocations: 5.844 kB / 0.82 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.5839, allocations: 11.28 kB / 0.82 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.5842, allocations: 109.4 kB / 0.8201 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.5843, allocations: 0.6708 MB / 0.8208 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.5844, allocations: 1.719 kB / 0.8208 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.5844, allocations: 16.47 kB / 0.8208 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.5844, allocations: 0 / 0.8208 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.6082, allocations: 1.05 MB / 0.8218 GB, free: 18.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.426, allocations: 8.25 kB / 0.8218 GB, free: 18.67 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.390377434901893] Failed to read output from testmodel.py, exit status != 0: 8.491607427597046 8.504854449 7.920300629 Calling exit ...