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.0007224/0.0007224, 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.0007356/0.0007356, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8366/0.8366, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001377/0.001377, allocations: 240.2 kB / 259.4 MB, free: 13.02 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.6693/0.6693, allocations: 138.4 MB / 454.3 MB, free: 30.07 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.834e-06/1.834e-06, allocations: 0 / 0.6463 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.346e-05, allocations: 9.312 kB / 0.6464 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001371/0.001395, allocations: 0.5851 MB / 0.6469 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002006/0.001595, allocations: 35.83 kB / 0.647 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.327e-05/0.001609, allocations: 0 / 0.647 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.001627, allocations: 4 kB / 0.647 GB, free: 1.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.001634, allocations: 3.938 kB / 0.647 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.001964, allocations: 11.98 kB / 0.647 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.339e-05/0.002007, allocations: 0 / 0.647 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.00205, allocations: 3.984 kB / 0.647 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.759e-05/0.002078, allocations: 7.938 kB / 0.647 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/0.002104, allocations: 0 / 0.647 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.002116, allocations: 0 / 0.647 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.002209, allocations: 19.97 kB / 0.647 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.00222, allocations: 3.984 kB / 0.647 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.002235, allocations: 4 kB / 0.647 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.963e-05/0.002334, allocations: 15.98 kB / 0.647 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002336, allocations: 0 / 0.647 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.242e-06/0.002338, allocations: 0 / 0.647 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.002342, allocations: 0 / 0.647 GB, free: 1.109 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.0002636/0.002605, allocations: 242.4 kB / 0.6473 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.002649, allocations: 13.94 kB / 0.6473 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.002677, allocations: 30.75 kB / 0.6473 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.002699, allocations: 0.9375 kB / 0.6473 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.85e-05/0.002757, allocations: 101.8 kB / 0.6474 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.002767, allocations: 384 / 0.6474 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.002773, allocations: 4.375 kB / 0.6474 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.002861, allocations: 38.19 kB / 0.6474 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.002867, allocations: 192 / 0.6474 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.002875, allocations: 4.312 kB / 0.6474 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.00288, allocations: 8.062 kB / 0.6475 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.0029, allocations: 4 kB / 0.6475 GB, free: 0.6016 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.003007, allocations: 117.5 kB / 0.6476 GB, free: 456 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.003044, allocations: 18.61 kB / 0.6476 GB, free: 428 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.003059, allocations: 4.859 kB / 0.6476 GB, free: 420 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.003096, allocations: 64 / 0.6476 GB, free: 420 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.003116, allocations: 42.5 kB / 0.6476 GB, free: 368 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 6.12e-07/0.003117, allocations: 0 / 0.6476 GB, free: 368 kB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.003241, allocations: 37.69 kB / 0.6477 GB, free: 324 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.003269, allocations: 55.34 kB / 0.6477 GB, free: 256 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.432e-05/0.003294, allocations: 93.86 kB / 0.6478 GB, free: 152 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.003303, allocations: 25.7 kB / 0.6478 GB, free: 120 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.003321, allocations: 80.14 kB / 0.6479 GB, free: 36 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.003348, allocations: 0 / 0.6479 GB, free: 36 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.00337, allocations: 13.72 kB / 0.6479 GB, free: 16 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.2503/0.2537, allocations: 310.8 kB / 0.6482 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.2537, allocations: 2.656 kB / 0.6482 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.2538, allocations: 0 / 0.6482 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.2538, allocations: 13.55 kB / 0.6482 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2538, allocations: 0 / 0.6482 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.373e-05/0.2539, allocations: 37.44 kB / 0.6483 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2539, allocations: 5.062 kB / 0.6483 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2539, allocations: 0.5625 kB / 0.6483 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2539, allocations: 1.906 kB / 0.6483 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.254, allocations: 2.641 kB / 0.6483 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.254, allocations: 5.656 kB / 0.6483 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.254, allocations: 0 / 0.6483 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.254, allocations: 1.469 kB / 0.6483 GB, free: 56.76 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 5.138e-05/0.2541, allocations: 115.5 kB / 0.6484 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.2541, allocations: 0 / 0.6484 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.2542, allocations: 44.62 kB / 0.6484 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2542, allocations: 3.188 kB / 0.6484 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2542, allocations: 3.938 kB / 0.6485 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2542, allocations: 1.688 kB / 0.6485 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.935e-05/0.2542, allocations: 118.5 kB / 0.6486 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2542, allocations: 2 kB / 0.6486 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.636e-05/0.2542, allocations: 3.469 kB / 0.6486 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2543, allocations: 1.438 kB / 0.6486 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.2543, allocations: 2.453 kB / 0.6486 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2543, allocations: 0 / 0.6486 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2543, allocations: 6.281 kB / 0.6486 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.392e-05/0.2543, allocations: 61.41 kB / 0.6486 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-06/0.2543, allocations: 1.828 kB / 0.6486 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.2543, allocations: 1.172 kB / 0.6486 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-06/0.2543, allocations: 4.047 kB / 0.6486 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.2544, allocations: 7.562 kB / 0.6487 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2544, allocations: 2.469 kB / 0.6487 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.158e-05/0.2544, allocations: 75.28 kB / 0.6487 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2544, allocations: 0.6562 kB / 0.6487 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001349/0.2545, allocations: 6.312 kB / 0.6487 GB, free: 56.31 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.0002394/0.2547, allocations: 0.5995 MB / 0.6493 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.23e-05/0.2548, allocations: 8.469 kB / 0.6493 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2548, allocations: 0 / 0.6493 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-06/0.2548, allocations: 3.531 kB / 0.6493 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.2549, allocations: 15.86 kB / 0.6493 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.2552, allocations: 104.6 kB / 0.6494 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.2552, allocations: 56.86 kB / 0.6495 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.2553, allocations: 5.875 kB / 0.6495 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.2553, allocations: 9.938 kB / 0.6495 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/0.2553, allocations: 0.5312 kB / 0.6495 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.2689, allocations: 1.672 MB / 0.6511 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.469/6.737, allocations: 5.531 kB / 0.6512 GB, free: 54.77 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.292129832319915] Failed to read output from testmodel.py, exit status != 0: 6.8133500488474965 6.822304811 6.81826216 Calling exit ...