Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001347/0.001347, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001445/0.001445, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.002574/0.002574, allocations: 274.6 kB / 312.7 MB, free: 2.848 MB / 238.1 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 1.387/1.387, allocations: 180.6 MB / 0.5369 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 178] 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.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 95.66 kB / 0.7396 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.201, allocations: 95.39 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002805/0.2038, allocations: 1.467 MB / 0.8342 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003288/0.2042, allocations: 108.6 kB / 0.8343 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.2042, allocations: 0 / 0.8343 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.898e-05/0.2043, allocations: 0 / 0.8343 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.2043, allocations: 3.938 kB / 0.8343 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.2046, allocations: 19.92 kB / 0.8343 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.352e-05/0.2046, allocations: 23.92 kB / 0.8343 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.459e-05/0.2047, allocations: 4 kB / 0.8343 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.496e-05/0.2047, allocations: 15.92 kB / 0.8343 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.2048, allocations: 15.97 kB / 0.8344 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.2048, allocations: 0 / 0.8344 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.2049, allocations: 31.91 kB / 0.8344 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.2049, allocations: 7.938 kB / 0.8344 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.205, allocations: 11.94 kB / 0.8344 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2051, allocations: 36.11 kB / 0.8344 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2051, allocations: 0 / 0.8344 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2051, allocations: 4 kB / 0.8344 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2051, allocations: 0 / 0.8344 GB, free: 6.926 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000433/0.2055, allocations: 266.3 kB / 0.8347 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2056, allocations: 9.344 kB / 0.8347 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.2056, allocations: 34.75 kB / 0.8347 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.2056, allocations: 0.9375 kB / 0.8347 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2058, allocations: 122.5 kB / 0.8349 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2058, allocations: 384 / 0.8349 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.2058, allocations: 4.375 kB / 0.8349 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2059, allocations: 58.16 kB / 0.8349 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.206, allocations: 3.938 kB / 0.8349 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.206, allocations: 0 / 0.8349 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.206, allocations: 0 / 0.8349 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.2061, allocations: 43.95 kB / 0.835 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.2065, allocations: 220.1 kB / 0.8352 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.2066, allocations: 42.42 kB / 0.8352 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.2067, allocations: 24.91 kB / 0.8352 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.2068, allocations: 8 kB / 0.8352 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2068, allocations: 30.56 kB / 0.8353 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2068, allocations: 0 / 0.8353 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003611/0.2072, allocations: 85.64 kB / 0.8354 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.2072, allocations: 51.41 kB / 0.8354 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.857e-05/0.2073, allocations: 110 kB / 0.8355 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.2073, allocations: 29.64 kB / 0.8355 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.2074, allocations: 84.14 kB / 0.8356 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.2074, allocations: 15.88 kB / 0.8356 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.2074, allocations: 13.72 kB / 0.8356 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2076, allocations: 314.8 kB / 0.8359 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.2077, allocations: 15.98 kB / 0.836 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.2077, allocations: 23.97 kB / 0.836 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2079, allocations: 36.83 kB / 0.836 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2079, allocations: 7.875 kB / 0.836 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.2081, allocations: 81.55 kB / 0.8361 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2081, allocations: 5.406 kB / 0.8361 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2081, allocations: 4.094 kB / 0.8361 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2081, allocations: 0 / 0.8361 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/0.2082, allocations: 16.17 kB / 0.8361 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2082, allocations: 0 / 0.8361 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.2083, allocations: 11.98 kB / 0.8361 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.2083, allocations: 0 / 0.8361 GB, free: 4.992 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 (2): * Single equations (assignments): 2 * 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.04e-05/0.2083, allocations: 114.4 kB / 0.8362 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.2084, allocations: 0 / 0.8362 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.2086, allocations: 77.28 kB / 0.8363 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2086, allocations: 0 / 0.8363 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2086, allocations: 4 kB / 0.8363 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2086, allocations: 3.984 kB / 0.8363 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.2088, allocations: 132.7 kB / 0.8365 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2088, allocations: 4 kB / 0.8365 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.2088, allocations: 7.984 kB / 0.8365 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2088, allocations: 0 / 0.8365 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2088, allocations: 3.938 kB / 0.8365 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2088, allocations: 4.031 kB / 0.8365 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2088, allocations: 4 kB / 0.8365 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.2091, allocations: 163.4 kB / 0.8366 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.2091, allocations: 8 kB / 0.8366 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.2091, allocations: 0 / 0.8366 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.2092, allocations: 12.02 kB / 0.8367 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.2092, allocations: 0 / 0.8367 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.2092, allocations: 0 / 0.8367 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.2093, allocations: 91.27 kB / 0.8367 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2093, allocations: 0 / 0.8367 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002188/0.2095, allocations: 8 kB / 0.8367 GB, free: 4.289 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 (2): * Single equations (assignments): 2 * 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.0006509/0.2101, allocations: 0.7006 MB / 0.8374 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2103, allocations: 35.97 kB / 0.8375 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2103, allocations: 0 / 0.8375 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.2104, allocations: 28.06 kB / 0.8375 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.2107, allocations: 8 kB / 0.8375 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.2112, allocations: 156.8 kB / 0.8376 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.2115, allocations: 0.6768 MB / 0.8383 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.2116, allocations: 7.938 kB / 0.8383 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.2116, allocations: 11.42 kB / 0.8383 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2116, allocations: 0 / 0.8383 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.2434, allocations: 1.547 MB / 0.8398 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.55, allocations: 7.453 kB / 0.8398 GB, free: 1.16 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.11141816700183] Failed to read output from testmodel.py, exit status != 0: 10.652695018998202 10.681513842 10.471406491 Calling exit ...