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.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.000773/0.000773, 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.0008531/0.0008531, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8612/0.8612, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001452/0.001452, allocations: 237.7 kB / 259.4 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6558/0.6558, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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 1.483e-06/1.483e-06, allocations: 0 / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.012e-05, allocations: 10.22 kB / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001278/0.001298, allocations: 0.5882 MB / 0.6469 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001857/0.001484, allocations: 31.83 kB / 0.647 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.202e-05/0.001496, allocations: 0 / 0.647 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.00151, allocations: 0 / 0.647 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.001517, allocations: 7.938 kB / 0.647 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.001803, allocations: 19.92 kB / 0.647 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.107e-05/0.001844, allocations: 0 / 0.647 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.001883, allocations: 0 / 0.647 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.734e-05/0.001911, allocations: 3.984 kB / 0.647 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.442e-05/0.001935, allocations: 7.984 kB / 0.647 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.001945, allocations: 0 / 0.647 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.002027, allocations: 15.98 kB / 0.647 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-06/0.002036, allocations: 0 / 0.647 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.00205, allocations: 0 / 0.647 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.761e-05/0.002147, allocations: 23.97 kB / 0.647 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.00215, allocations: 0 / 0.647 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.213e-06/0.002152, allocations: 0 / 0.647 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002156, allocations: 0 / 0.647 GB, free: 1.148 MB / 0.5573 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.000234/0.00239, allocations: 241.2 kB / 0.6473 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.002429, allocations: 13.94 kB / 0.6473 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.626e-05/0.002455, allocations: 30.75 kB / 0.6473 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.002477, allocations: 0.9375 kB / 0.6473 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.218e-05/0.002529, allocations: 105.8 kB / 0.6474 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-06/0.002538, allocations: 4.312 kB / 0.6474 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.002545, allocations: 384 / 0.6474 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.002625, allocations: 34.27 kB / 0.6474 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.002631, allocations: 192 / 0.6474 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.002639, allocations: 4.312 kB / 0.6474 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.002644, allocations: 8.062 kB / 0.6475 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.002662, allocations: 7.984 kB / 0.6475 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.737e-05/0.002759, allocations: 113.5 kB / 0.6476 GB, free: 500 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.039e-05/0.0028, allocations: 26.55 kB / 0.6476 GB, free: 464 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.002813, allocations: 4.859 kB / 0.6476 GB, free: 456 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.002846, allocations: 0 / 0.6476 GB, free: 456 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.002864, allocations: 34.62 kB / 0.6476 GB, free: 412 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.002865, allocations: 4 kB / 0.6476 GB, free: 408 kB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001154/0.00298, allocations: 33.69 kB / 0.6477 GB, free: 368 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.003009, allocations: 55.34 kB / 0.6477 GB, free: 300 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.949e-05/0.003038, allocations: 93.86 kB / 0.6478 GB, free: 196 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.003291, allocations: 25.7 kB / 0.6478 GB, free: 164 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.76e-05/0.003308, allocations: 80.14 kB / 0.6479 GB, free: 80 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.003335, allocations: 4 kB / 0.6479 GB, free: 76 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.003358, allocations: 13.72 kB / 0.6479 GB, free: 56 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.2376/0.2409, allocations: 310.8 kB / 0.6482 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.2409, allocations: 1.5 kB / 0.6482 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/0.241, allocations: 0.5312 kB / 0.6482 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.998e-05/0.241, allocations: 11 kB / 0.6482 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.241, allocations: 1.469 kB / 0.6482 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.644e-05/0.241, allocations: 34.81 kB / 0.6483 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2411, allocations: 5.188 kB / 0.6483 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2411, allocations: 2.625 kB / 0.6483 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.2411, allocations: 2.719 kB / 0.6483 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.2412, allocations: 1.938 kB / 0.6483 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2412, allocations: 4.25 kB / 0.6483 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.2412, allocations: 3.781 kB / 0.6483 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.2412, allocations: 1.938 kB / 0.6483 GB, free: 56.02 MB / 0.5573 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.245e-05/0.2412, allocations: 111.1 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.2413, allocations: 0.5625 kB / 0.6484 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.567e-05/0.2413, allocations: 43.73 kB / 0.6484 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2414, allocations: 0.8125 kB / 0.6484 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2414, allocations: 10.19 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2414, allocations: 2.906 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.451e-05/0.2414, allocations: 120.9 kB / 0.6486 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2414, allocations: 2.953 kB / 0.6486 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.2414, allocations: 3.531 kB / 0.6486 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.2414, allocations: 0.6562 kB / 0.6486 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.2414, allocations: 1.344 kB / 0.6486 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2414, allocations: 0.5312 kB / 0.6486 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2414, allocations: 4.656 kB / 0.6486 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.962e-05/0.2415, allocations: 58.12 kB / 0.6486 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.2415, allocations: 5.172 kB / 0.6486 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.2415, allocations: 0.7188 kB / 0.6486 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-06/0.2415, allocations: 2.359 kB / 0.6486 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.2415, allocations: 5.25 kB / 0.6487 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.2415, allocations: 5.922 kB / 0.6487 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.528e-06/0.2415, allocations: 75.28 kB / 0.6487 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2415, allocations: 0.6562 kB / 0.6487 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001319/0.2416, allocations: 5.906 kB / 0.6487 GB, free: 55.57 MB / 0.5573 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.0002229/0.2419, allocations: 0.5946 MB / 0.6493 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.2419, allocations: 10.88 kB / 0.6493 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2419, allocations: 0 / 0.6493 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/0.242, allocations: 2.625 kB / 0.6493 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.2421, allocations: 10.14 kB / 0.6493 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.2423, allocations: 108.5 kB / 0.6494 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.454e-05/0.2423, allocations: 54.17 kB / 0.6495 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.2424, allocations: 5.969 kB / 0.6495 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.2424, allocations: 9.469 kB / 0.6495 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/0.2424, allocations: 0.6562 kB / 0.6495 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.2573, allocations: 1.673 MB / 0.6511 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/6.83, allocations: 11.66 kB / 0.6512 GB, free: 54.04 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.295927110128105] Failed to read output from testmodel.py, exit status != 0: 6.906162527389824 6.913947807 6.91006681 Calling exit ...